cucapra/dahlia

Abstract the Hoisiting pattern used in the two Hoist passes

Opened this issue · 2 comments

The title pretty much says it all.

The two passes being the passes that hoist memory reads and "expensive" binary ops. See #315 for discussion on how to do it.

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.