Skip to content

Commit ae8c85c

Browse files
authored
[Passes] Remove LoopInterchange from O1 pipeline (#145071)
This is a fairly exotic pass, I don't think it makes a lot of sense to run it at O1, esp. as vectorization wouldn't run at O1 anyway.
1 parent 1e58e9c commit ae8c85c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Passes/PassBuilderPipelines.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,6 @@ PassBuilder::buildO1FunctionSimplificationPipeline(OptimizationLevel Level,
501501

502502
LPM2.addPass(LoopDeletionPass());
503503

504-
if (PTO.LoopInterchange)
505-
LPM2.addPass(LoopInterchangePass());
506-
507504
// Do not enable unrolling in PreLinkThinLTO phase during sample PGO
508505
// because it changes IR to makes profile annotation in back compile
509506
// inaccurate. The normal unroller doesn't pay attention to forced full unroll

0 commit comments

Comments
 (0)