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

Jack Styles via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 23:38:58 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");
----------------
Stylie777 wrote:

nit: this is unrelated.

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


More information about the llvm-commits mailing list