@@ -3076,25 +3076,28 @@ class VPScalarIVStepsRecipe : public VPRecipeWithIRFlags,
30763076
30773077public:
30783078 VPScalarIVStepsRecipe (VPValue *IV, VPValue *Step, VPValue *VF,
3079- Instruction::BinaryOps Opcode, FastMathFlags FMFs)
3079+ Instruction::BinaryOps Opcode, FastMathFlags FMFs,
3080+ DebugLoc DL)
30803081 : VPRecipeWithIRFlags(VPDef::VPScalarIVStepsSC,
3081- ArrayRef<VPValue *>({IV, Step, VF}), FMFs),
3082+ ArrayRef<VPValue *>({IV, Step, VF}), FMFs, DL ),
30823083 InductionOpcode (Opcode) {}
30833084
30843085 VPScalarIVStepsRecipe (const InductionDescriptor &IndDesc, VPValue *IV,
3085- VPValue *Step, VPValue *VF)
3086+ VPValue *Step, VPValue *VF, DebugLoc DL = {} )
30863087 : VPScalarIVStepsRecipe(
30873088 IV, Step, VF, IndDesc.getInductionOpcode(),
30883089 dyn_cast_or_null<FPMathOperator>(IndDesc.getInductionBinOp())
30893090 ? IndDesc.getInductionBinOp()->getFastMathFlags ()
3090- : FastMathFlags()) {}
3091+ : FastMathFlags(),
3092+ DL) {}
30913093
30923094 ~VPScalarIVStepsRecipe () override = default ;
30933095
30943096 VPScalarIVStepsRecipe *clone () override {
30953097 return new VPScalarIVStepsRecipe (
30963098 getOperand (0 ), getOperand (1 ), getOperand (2 ), InductionOpcode,
3097- hasFastMathFlags () ? getFastMathFlags () : FastMathFlags ());
3099+ hasFastMathFlags () ? getFastMathFlags () : FastMathFlags (),
3100+ getDebugLoc ());
30983101 }
30993102
31003103 // / Return true if this VPScalarIVStepsRecipe corresponds to part 0. Note that
0 commit comments