broom-lang / broom

A programming language with first-class modules and algebraic effects.
https://broom.readthedocs.io
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Peephole optimizations in instruction selection #59

Open nilern opened 4 years ago

nilern commented 4 years ago

We could take the same approach to this as in #58 to get something like maximal munch or even Davidson-Fraser. We already do some copy propagation to get rid of sequencing pseudo-values.