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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 14 04:11:09 PDT 2025


================
@@ -883,6 +883,8 @@ class VPInstruction : public VPRecipeWithIRFlags,
     AnyOf,
     // Calculates the first active lane index of the vector predicate operand.
     FirstActiveLane,
+    // Creates a step vector starting from 0 with a step of 1.
----------------
lukel97 wrote:

I don't think the stepvector intrinsic has the ability to specify an end value? 



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


More information about the llvm-commits mailing list