[llvm] [VPlan] Replace UnrollPart for VPScalarIVSteps with start index op (NFC) (PR #170906)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 19 05:22:50 PST 2026
================
@@ -2492,8 +2492,6 @@ void VPScalarIVStepsRecipe::execute(VPTransformState &State) {
// iteration.
bool FirstLaneOnly = vputils::onlyFirstLaneUsed(this);
// Compute the scalar steps and save the results in State.
- Type *IntStepTy =
- IntegerType::get(BaseIVTy->getContext(), BaseIVTy->getScalarSizeInBits());
unsigned StartLane = 0;
unsigned EndLane = FirstLaneOnly ? 1 : State.VF.getKnownMinValue();
----------------
fhahn wrote:
yes, here we need to take the VF from state, which may be different to the VF operand (e.g. after narrowInterleaveGroups)
https://github.com/llvm/llvm-project/pull/170906
More information about the llvm-commits
mailing list