@@ -8542,8 +8542,7 @@ bool VPRecipeBuilder::shouldWiden(Instruction *I, VFRange &Range) const {
8542
8542
}
8543
8543
8544
8544
VPWidenRecipe *VPRecipeBuilder::tryToWiden (Instruction *I,
8545
- ArrayRef<VPValue *> Operands,
8546
- VPBasicBlock *VPBB) {
8545
+ ArrayRef<VPValue *> Operands) {
8547
8546
switch (I->getOpcode ()) {
8548
8547
default :
8549
8548
return nullptr ;
@@ -8823,10 +8822,8 @@ bool VPRecipeBuilder::getScaledReductions(
8823
8822
return false ;
8824
8823
}
8825
8824
8826
- VPRecipeBase *
8827
- VPRecipeBuilder::tryToCreateWidenRecipe (Instruction *Instr,
8828
- ArrayRef<VPValue *> Operands,
8829
- VFRange &Range, VPBasicBlock *VPBB) {
8825
+ VPRecipeBase *VPRecipeBuilder::tryToCreateWidenRecipe (
8826
+ Instruction *Instr, ArrayRef<VPValue *> Operands, VFRange &Range) {
8830
8827
// First, check for specific widening recipes that deal with inductions, Phi
8831
8828
// nodes, calls and memory operations.
8832
8829
VPRecipeBase *Recipe;
@@ -8905,7 +8902,7 @@ VPRecipeBuilder::tryToCreateWidenRecipe(Instruction *Instr,
8905
8902
*CI);
8906
8903
}
8907
8904
8908
- return tryToWiden (Instr, Operands, VPBB );
8905
+ return tryToWiden (Instr, Operands);
8909
8906
}
8910
8907
8911
8908
VPRecipeBase *
@@ -9373,7 +9370,7 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
9373
9370
}
9374
9371
9375
9372
VPRecipeBase *Recipe =
9376
- RecipeBuilder.tryToCreateWidenRecipe (Instr, Operands, Range, VPBB );
9373
+ RecipeBuilder.tryToCreateWidenRecipe (Instr, Operands, Range);
9377
9374
if (!Recipe)
9378
9375
Recipe = RecipeBuilder.handleReplication (Instr, Operands, Range);
9379
9376
0 commit comments