Add code optimizer
Closed this issue · 3 comments
bit-hack commented
CCLM currently generates code as a 1:1 mapping between source and ASM.
Add a peephole optimizer to clean up basic redundancies in the generated code.
bit-hack commented
Peephole spans generated by the fuzz tester can be found here: https://gist.github.com/8BitPimp/2e02c9eb8ef49aef844cbda5a4711a42
bit-hack commented
An optimizer has been in the master branch for a long while now.