DontBelieveMe / helix

"Compiler Optimisation Techniques" - BSc Computer Science Final Year Project (Sheffield Hallam University)
2 stars 0 forks source link

Add pass for transforming from high IR (abstract) to low IR (real machine instructions) #23

Closed DontBelieveMe closed 2 years ago

DontBelieveMe commented 2 years ago

Add pass that transforms the abstract IR instructions into machine instructions as defined by the patterns in arm.md (can leverage the existing matching infrastructure for this) but instead of writing text, replacing instructions.

This can probably replace the match pass and match can become final or something (like GCC)

DontBelieveMe commented 2 years ago

Initial version implemented at f789e224617bfe991725f55c9977cacfa210e20f Closing this, can open new issues to address the remaining problems