[llvm] [VPlan] Update scalar induction resume values in VPlan. (PR #110577)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 16:05:15 PST 2024


================
@@ -10324,7 +10343,13 @@ bool LoopVectorizePass::processLoop(Loop *L) {
         LVP.executePlan(EPI.EpilogueVF, EPI.EpilogueUF, BestEpiPlan, EpilogILV,
                         DT, true, &ExpandedSCEVs);
         ++LoopsEpilogueVectorized;
+        BasicBlock *PH = L->getLoopPreheader();
 
----------------
ayalz wrote:

```suggestion

        // SOME COMMENT
        BasicBlock *PH = L->getLoopPreheader();
```

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


More information about the llvm-commits mailing list