Archives / Projects / PL241-Compiler
PL241-Compiler
Feb 2014 to Dec 2014

The PL241-Compiler is an SSA-based optimizing compiler that supports copy propagation, common subexpression elimination, constant folding, register allocation and code generation for the DLX (pronounced β€˜Deluxe’) RISC processor architecture.

I wrote the compiler as a part of a graduate course at UC Irvine. It was both a challenging and extremely useful course and compiler to work on. In fact, I ended up borrowing ideas like value-numbering that are pivotal to the SSA-form for my own research projects. I would highly recommend this course to anyone who might be interested in, or is working on program analysis.

Essentially, I decided to open source the code of my implementation and continue working on it during my free time β€” yes, it is that interesting and addictive!

Code: https://bitbucket.org/vpalepu/pl241-compiler

TL;DR - SSA-based optimizing compiler that supports copy propagation, common subexpression elimination.

Tags: compiler SSA optimization code-generation program-analysis

Related Posts

🐘