[llvm] [VPlan] Add VPlan-based addMinIterCheck, replace ILV for non-epilogue. (PR #153643)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 10:40:03 PDT 2025


================
@@ -7470,7 +7411,7 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
 /// This function is partially responsible for generating the control flow
 /// depicted in https://llvm.org/docs/Vectorizers.html#epilogue-vectorization.
 BasicBlock *EpilogueVectorizerMainLoop::createEpilogueVectorizedLoopSkeleton() {
-  createVectorLoopSkeleton("");
+  createScalarPreheader("");
----------------
fhahn wrote:

`createEpilogueVectorizedLoopSkeleton` can be folded into `createVectorizedLoopSkeleton` implementation in the sub-classes, updated.

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


More information about the llvm-commits mailing list