[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:29 PDT 2025


================
@@ -7361,121 +7348,22 @@ BasicBlock *EpilogueVectorizerMainLoop::emitIterationCountCheck(
 /// This function is partially responsible for generating the control flow
 /// depicted in https://llvm.org/docs/Vectorizers.html#epilogue-vectorization.
 BasicBlock *EpilogueVectorizerEpilogueLoop::createVectorizedLoopSkeleton() {
+  BasicBlock *Entry = OrigLoop->getLoopPreheader();
----------------
fhahn wrote:

Updated to OldScalarPH, thanks

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


More information about the llvm-commits mailing list