Optimizing Compiler

2026-06-10

A compiler from C0 (a teaching subset of C) down to LLVM IR and x86-64, written in Rust.

Covers SSA construction, dataflow analysis, register allocation, sparse conditional constant propagation (SCCP), aggressive dead code elimination (ADCE), and inlining.

← back to blog