[llvm] [LV] Use getFixedValue instead of getKnownMinValue when appropriate (PR #143526)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 12 03:09:34 PDT 2025
================
@@ -331,7 +331,7 @@ Value *VPTransformState::get(const VPValue *Def, bool NeedsScalar) {
bool IsSingleScalar = vputils::isSingleScalar(Def);
- VPLane LastLane(IsSingleScalar ? 0 : VF.getKnownMinValue() - 1);
+ VPLane LastLane(IsSingleScalar ? 0 : VF.getFixedValue() - 1);
----------------
Mel-Chen wrote:
May I ask where it is guaranteed that the VF is not scalable?
https://github.com/llvm/llvm-project/pull/143526
More information about the llvm-commits
mailing list