Skip to content

nokiiaa/NIR

Repository files navigation

NIR

A compiler infrastructure framework that utilizes a intermediate representation for the purpose of optimization and register allocation.

Note: this is an old project and is likely to be buggy, but has some potential.

Features

  • Greedy register allocation
  • Conversion to/out of SSA form
  • Optimization passes:
    • Phi reduction
    • Constant propagation
    • Dead code elimination
    • Redundancy elimination
  • Backends for:
    • x64 (floating-point capacity unimplemented as of Nov 2022)

Releases

No releases published

Packages

No packages published

Languages