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

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 16 14:00:54 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.
----------------
ayalz wrote:

Worth outlining?
As in EpilogueVectorizerEpilogueLoop::emitMinimumVectorEpilogueIterCountCheck().

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


More information about the llvm-commits mailing list