[llvm] [VPlan] Add VPInstruction::StepVector and use it in VPWidenIntOrFpInductionRecipe (PR #129508)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 10:54:47 PDT 2025


================
@@ -1836,6 +1841,7 @@ class VPWidenIntOrFpInductionRecipe : public VPWidenInductionRecipe {
                                Step, IndDesc, DL),
         Trunc(nullptr) {
     addOperand(VF);
+    addOperand(VF); // Dummy StepVector replaced in convertToConcreteRecipes
----------------
fhahn wrote:

do we need the dummy operands or can we add the operand when needed? 

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


More information about the llvm-commits mailing list