[llvm] [LoopInterchange] Bail out early if minimum loop nest is not met (PR #115128)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 21:30:14 PST 2024


================
@@ -1713,6 +1721,12 @@ PreservedAnalyses LoopInterchangePass::run(LoopNest &LN,
                                            LPMUpdater &U) {
   Function &F = *LN.getParent();
 
+  SmallVector<Loop *, 8> LoopList(LN.getLoops());
+
----------------
madhur13490 wrote:

Done

https://github.com/llvm/llvm-project/pull/115128


More information about the llvm-commits mailing list