Abstract the Hoisiting pattern used in the two Hoist passes
Opened this issue · 2 comments
sgpthomas commented
The title pretty much says it all.
rachitnigam commented
The two passes being the passes that hoist memory reads and "expensive" binary ops. See #315 for discussion on how to do it.
rachitnigam commented
I think the lower-unroll pass depends on the hoistMemory stuff running before it and the hoistSlowOp stuff running after it so we can't just combine them into one pass.