[llvm] [LV] codegen for tail-folded epilogue loop (PR #208764)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 19 14:32:26 PDT 2026


================
@@ -3587,10 +3591,12 @@ std::unique_ptr<VPlan> LoopVectorizationPlanner::selectBestEpiloguePlan(
   VPlan *BestPlan = nullptr;
   for (auto &NextVF : ProfitableVFs) {
     // Skip candidate VFs without a corresponding VPlan.
-    if (!hasPlanWithVF(NextVF.Width))
+    if (!hasPlanWithVF(NextVF.Width,
----------------
fhahn wrote:

with only forced VF supported, we should not need any checks here for the initial version?

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


More information about the llvm-commits mailing list