[PATCH] D17442: [LPM] Remove the last worrisome split in the primary loop pass pipeline, allowing LICM and friends to always run over the outer loop after unrolling has a chance to remove the inner loop.

escha via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 10:08:26 PST 2016


escha added a subscriber: escha.
escha added a comment.

@mzolotukhin I'm curious which sort of CFG simplifications *need* to be done within the loop pass pipeline (other than the extremely trivial one I added). I would hope Chandler's adding of regular SimplifyCFG afterwards would be enough in the short-term, but cases where it's not would in and of themselves be rather interesting.

It does feel like ideally we just want a LoopSimplifyCFG that does everything SimplifyCFG does, though, unless there's a good reason that would be less efficient.


http://reviews.llvm.org/D17442





More information about the llvm-commits mailing list