[llvm] [Passes] Move LoopInterchange into optimization pipeline (PR #145503)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 24 05:13:55 PDT 2025
================
@@ -1547,6 +1544,10 @@ PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level,
// this may need to be revisited once we run GVN before loop deletion
// in the simplification pipeline.
LPM.addPass(LoopDeletionPass());
+
+ if (PTO.LoopInterchange)
+ LPM.addPass(LoopInterchangePass());
----------------
kasuga-fj wrote:
I'm not sure where LoopInterchange should be placed within the optimization pipeline...
https://github.com/llvm/llvm-project/pull/145503
More information about the llvm-commits
mailing list