@@ -8132,8 +8132,7 @@ VPRecipeBuilder::tryToWidenMemory(Instruction *I, ArrayRef<VPValue *> Operands,
8132
8132
static VPWidenIntOrFpInductionRecipe *
8133
8133
createWidenInductionRecipes (PHINode *Phi, Instruction *PhiOrTrunc,
8134
8134
VPValue *Start, const InductionDescriptor &IndDesc,
8135
- VPlan &Plan, ScalarEvolution &SE, Loop &OrigLoop,
8136
- VFRange &Range) {
8135
+ VPlan &Plan, ScalarEvolution &SE, Loop &OrigLoop) {
8137
8136
assert (IndDesc.getStartValue () ==
8138
8137
Phi->getIncomingValueForBlock (OrigLoop.getLoopPreheader ()));
8139
8138
assert (SE.isLoopInvariant (IndDesc.getStep (), &OrigLoop) &&
@@ -8155,7 +8154,7 @@ VPHeaderPHIRecipe *VPRecipeBuilder::tryToOptimizeInductionPHI(
8155
8154
// produces its scalar and vector values.
8156
8155
if (auto *II = Legal->getIntOrFpInductionDescriptor (Phi))
8157
8156
return createWidenInductionRecipes (Phi, Phi, Operands[0 ], *II, Plan,
8158
- *PSE.getSE (), *OrigLoop, Range );
8157
+ *PSE.getSE (), *OrigLoop);
8159
8158
8160
8159
// Check if this is pointer induction. If so, build the recipe for it.
8161
8160
if (auto *II = Legal->getPointerInductionDescriptor (Phi)) {
@@ -8195,7 +8194,7 @@ VPWidenIntOrFpInductionRecipe *VPRecipeBuilder::tryToOptimizeInductionTruncate(
8195
8194
const InductionDescriptor &II = *Legal->getIntOrFpInductionDescriptor (Phi);
8196
8195
VPValue *Start = Plan.getOrAddLiveIn (II.getStartValue ());
8197
8196
return createWidenInductionRecipes (Phi, I, Start, II, Plan, *PSE.getSE (),
8198
- *OrigLoop, Range );
8197
+ *OrigLoop);
8199
8198
}
8200
8199
return nullptr ;
8201
8200
}
0 commit comments