[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.

Michael Zolotukhin via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 10:22:50 PST 2016


mzolotukhin added a comment.

@escha SimplifyCFG is actually pretty complicated pass (it's 5K LOC), so it does a lot of stuff. The problem is that some of the transformations will not preserve LCSSA and might not be located in the current loop, so they can't be applied as-is. In my experiments we were missing, like, almost everything SimplifyCFG does - e.g. the first simplification `ConstFoldTerminator`.


http://reviews.llvm.org/D17442





More information about the llvm-commits mailing list