[llvm] [VPlan] Create epilogue minimum iteration check in VPlan. (PR #157545)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 21 03:14:30 PDT 2025


================
@@ -9700,6 +9595,46 @@ preparePlanForEpilogueVectorLoop(VPlan &Plan, Loop *L,
       Plan.resetTripCount(ExpandedVal);
     ExpandR->eraseFromParent();
   }
+
+  // Add the minimum iteration check for the epilogue vector loop.
----------------
fhahn wrote:

Moved to `addMinimumVectorEpilogueIterationCheck` in VPlanConstruction.cpp, similar to `addMinimumIterationCheck`

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


More information about the llvm-commits mailing list