MXCompiler
a toy compiler that compiles C-like source code into rv32im asm
repo address:
- github: https://github.com/happyZYM/MXCompiler
- my git server: https://dev.zymsite.ink/Academic/BigHomeworks/MXCompiler
features:
- support basic optimizations such as: mem2reg, regalloc(coloring on quasi-SSA interference graph), DCE, etc.
- in some preliminary tests, nearly the same performance as llvm(from source code to asm), or even a bit better(use llc to compile from LLVM IR generated by my compiler)