/MxCompiler

A Mx-language compiler focused on backend optimization (Compiler Project of ACM class @ SJTU)

Primary LanguageC++

MxCompiler

A Mx-language compiler focused on backend optimization and code generation for x86-64.

This is the codebase for compiler project of ACM class @ SJTU

Useful links:

Main Optimizations

  • Function Inlining
  • Register Allocation based on SSA
  • Loop-invariant Code Motion
  • Dead Code Elimination
  • Global Value Numbering