---
title: "Yuanbo Li (@yuanbo233) | Hashnode"
description: "Yuanbo Li (@yuanbo233) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@yuanbo233"
---

@yuanbo233

# Yuanbo Li

@yuanbo233 · Joined November 2024

### [LLVM Instruction Selection: Pattern Matching in ISelDAGToDAG](https://compilercodegen.hashnode.dev/llvm-instruction-selection-pattern-matching-in-iseldagtodag?utm_source=hashnode&utm_medium=feed)

This is some of my notes for LLVM's ISelDAGToDAG instruction selector and how SelectionDAG patterns are matched and lowered to machine instructions. Purpose What: ISelDAGToDAG translates a legalized SelectionDAG into target-specific machine instruct...

8 min read · [compilercodegen.hashnode.dev](https://compilercodegen.hashnode.dev/llvm-instruction-selection-pattern-matching-in-iseldagtodag?utm_source=hashnode&utm_medium=feed)

[Aug 9, 2025](https://hashnode.com/posts/llvm-instruction-selection-pattern-matching-in-iseldagtodag/689707a2afe88efb4870fc9f)

### [LLVM Instruction Selection: Legalization Pass Deep Dive](https://compilercodegen.hashnode.dev/llvm-instruction-selection-legalization-pass-deep-dive?utm_source=hashnode&utm_medium=feed)

This article is a follow-up to my previous post LLVM Instruction Selection: SelectionDAG Building, where we explored how SelectionDAGs are constructed from LLVM IR. In this post, we explore the next phase: legalization\*, which ensures the DAG conform...

6 min read · [compilercodegen.hashnode.dev](https://compilercodegen.hashnode.dev/llvm-instruction-selection-legalization-pass-deep-dive?utm_source=hashnode&utm_medium=feed)

[Jun 29, 2025](https://hashnode.com/posts/llvm-instruction-selection-legalization-pass-deep-dive/6860d238f7be250bb7eb874e)

### [LLVM Instruction Selection: SelectionDAG Building](https://compilercodegen.hashnode.dev/llvm-instruction-selection-selectiondag-building?utm_source=hashnode&utm_medium=feed)

LLVM's instruction selection (ISel) is a key stage in the LLVM backend that translates high-level LLVM IR into target-specific machine instructions. This post focuses on the frontend of instruction selection—the phase that builds the SelectionDAG fro...

4 min read · [compilercodegen.hashnode.dev](https://compilercodegen.hashnode.dev/llvm-instruction-selection-selectiondag-building?utm_source=hashnode&utm_medium=feed)

[Jun 20, 2025](https://hashnode.com/posts/llvm-instruction-selection-selectiondag-building/6854c9a71e997d2751c4942e)

### [Towards a minimal compiling example (1): PassContext](https://my-tvm-from-scratch-1.hashnode.dev/towards-a-minimal-compiling-example-1-passcontext?utm_source=hashnode&utm_medium=feed)

What Is PassContext? A PassContext is a contextual object that exists during the execution of IR passes. It acts as a shared environment to configure and control the behavior of optimization passes without hard-coding logic into each one. If you’re f...

3 min read · [my-tvm-from-scratch-1.hashnode.dev](https://my-tvm-from-scratch-1.hashnode.dev/towards-a-minimal-compiling-example-1-passcontext?utm_source=hashnode&utm_medium=feed)

[Apr 8, 2025](https://hashnode.com/posts/towards-a-minimal-compiling-example-1-passcontext/67f4675696fe2a3686670b2f)

### [Building a Minimal IR for ONNX Model Compilation: From Concept to Implementation](https://my-tvm-from-scratch-1.hashnode.dev/building-a-minimal-ir-for-onnx-model-compilation-from-concept-to-implementation?utm_source=hashnode&utm_medium=feed)

Introduction: The Role of Intermediate Representations Our compiler's Intermediate Representation (IR) serves as the crucial bridge between high-level ONNX models and optimized executable code. This post documents my implementation of a minimal Relay...

4 min read · [my-tvm-from-scratch-1.hashnode.dev](https://my-tvm-from-scratch-1.hashnode.dev/building-a-minimal-ir-for-onnx-model-compilation-from-concept-to-implementation?utm_source=hashnode&utm_medium=feed)

[Jan 27, 2025](https://hashnode.com/posts/building-a-minimal-ir-for-onnx-model-compilation-from-concept-to-implementation/6797716f6de346246ea761bc)
