@@ -8542,8 +8542,7 @@ bool VPRecipeBuilder::shouldWiden(Instruction *I, VFRange &Range) const {
85428542}
85438543
85448544VPWidenRecipe *VPRecipeBuilder::tryToWiden (Instruction *I,
8545- ArrayRef<VPValue *> Operands,
8546- VPBasicBlock *VPBB) {
8545+ ArrayRef<VPValue *> Operands) {
85478546 switch (I->getOpcode ()) {
85488547 default :
85498548 return nullptr ;
@@ -8823,10 +8822,8 @@ bool VPRecipeBuilder::getScaledReductions(
88238822 return false ;
88248823}
88258824
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) {
88308827 // First, check for specific widening recipes that deal with inductions, Phi
88318828 // nodes, calls and memory operations.
88328829 VPRecipeBase *Recipe;
@@ -8905,7 +8902,7 @@ VPRecipeBuilder::tryToCreateWidenRecipe(Instruction *Instr,
89058902 *CI);
89068903 }
89078904
8908- return tryToWiden (Instr, Operands, VPBB );
8905+ return tryToWiden (Instr, Operands);
89098906}
89108907
89118908VPRecipeBase *
@@ -9373,7 +9370,7 @@ LoopVectorizationPlanner::tryToBuildVPlanWithVPRecipes(VFRange &Range) {
93739370 }
93749371
93759372 VPRecipeBase *Recipe =
9376- RecipeBuilder.tryToCreateWidenRecipe (Instr, Operands, Range, VPBB );
9373+ RecipeBuilder.tryToCreateWidenRecipe (Instr, Operands, Range);
93779374 if (!Recipe)
93789375 Recipe = RecipeBuilder.handleReplication (Instr, Operands, Range);
93799376
0 commit comments