[llvm] [LV][RISCV] Add explicit LMUL controls via computeFeasibleMaxVF (PR #193091)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 04:34:14 PDT 2026
================
@@ -3335,6 +3335,13 @@ FixedScalableVFPair LoopVectorizationCostModel::computeFeasibleMaxVF(
}
auto MaxSafeFixedVF = ElementCount::getFixed(MaxSafeElementsPowerOf2);
auto MaxSafeScalableVF = getMaxLegalScalableVF(MaxSafeElementsPowerOf2);
+ auto CollectMaxScalableVF = TTI.getMaxScalableVF(WidestType);
----------------
fhahn wrote:
How will this interact with the maximize bandwidth option, which also maximizes the VF? Might be good to have a test
https://github.com/llvm/llvm-project/pull/193091
More information about the llvm-commits
mailing list