[llvm] [LV] Always try to use fixed VF for low TC loops if no epilogue allowed. (PR #226318)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 11:00:05 PDT 2026


================
@@ -3092,7 +3091,7 @@ LoopVectorizationCostModel::computeMaxVF(ElementCount UserVF, unsigned UserIC) {
       if (NumOfInstructions > LowTripCountLoopBodySizeLimit) {
         unsigned VF = MaxVFForTC / EffectiveIC;
         LLVM_DEBUG(dbgs() << "LV: Picking MaxVF=" << VF
-                          << " with at most 1 scalar iteration remaining.\n");
----------------
fhahn wrote:

Removed thanks

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


More information about the llvm-commits mailing list