[llvm] [VPlan] Add VPInstruction::StepVector and use it in VPWidenIntOrFpInductionRecipe (PR #129508)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed May 7 07:05:49 PDT 2025
================
@@ -1918,6 +1928,18 @@ class VPWidenIntOrFpInductionRecipe : public VPWidenInductionRecipe {
VPValue *getVFValue() { return getOperand(2); }
const VPValue *getVFValue() const { return getOperand(2); }
+ // TODO: Remove once VPWidenIntOrFpInduction is fully expanded in
+ // convertToConcreteRecipes.
+ VPValue *getStepVector() { return getOperand(3); }
----------------
lukel97 wrote:
Done, thanks
https://github.com/llvm/llvm-project/pull/129508
More information about the llvm-commits
mailing list