[llvm] [LV] Allow scalable epilogue VFs matching the MainLoop VF (PR #208686)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 04:14:21 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
----------------
fhahn wrote:
```suggestion
// Skip fixed vector VFs > than the estimated runtime VF, or any VF > than
```
nit: should this be `than` like for the `VF > than ` in the second part?
https://github.com/llvm/llvm-project/pull/208686
More information about the llvm-commits
mailing list