[llvm] [LV] Allow scalable epilogue VFs matching the MainLoop VF (PR #208686)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 04:18:39 PDT 2026


================
@@ -3592,14 +3592,11 @@ std::unique_ptr<VPlan> LoopVectorizationPlanner::selectBestEpiloguePlan(
 
     VPlan &CurrentPlan = getPlanFor(NextVF.Width);
     ElementCount EffectiveVF = GetEffectiveVF(CurrentPlan, NextVF.Width);
-    // Skip candidate VFs with widths >= the (estimated) runtime VF (scalable
-    // vectors) or > the VF of the main loop (fixed vectors).
+    // Skip fixed vector VFs > to the estimated runtime VF, or any VF > than
----------------
MacDue wrote:

Yes, fixed :+1: 

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


More information about the llvm-commits mailing list