@@ -515,8 +515,8 @@ class InnerLoopVectorizer {
515
515
VPReplicateRecipe *RepRecipe, const VPLane &Lane,
516
516
VPTransformState &State);
517
517
518
- // / Fix the widened PHIs in \p Plan.
519
- void fixWidenedPHIs (VPTransformState &State);
518
+ // / Fix the non-induction PHIs in \p Plan.
519
+ void fixNonInductionPHIs (VPTransformState &State);
520
520
521
521
// / Returns the original loop trip count.
522
522
Value *getTripCount () const { return TripCount; }
@@ -2977,8 +2977,8 @@ LoopVectorizationCostModel::getVectorIntrinsicCost(CallInst *CI,
2977
2977
}
2978
2978
2979
2979
void InnerLoopVectorizer::fixVectorizedLoop (VPTransformState &State) {
2980
- // Fix widened PHIs by setting up the PHI operands.
2981
- fixWidenedPHIs (State);
2980
+ // Fix widened non-induction PHIs by setting up the PHI operands.
2981
+ fixNonInductionPHIs (State);
2982
2982
2983
2983
// Forget the original basic block.
2984
2984
PSE.getSE ()->forgetLoop (OrigLoop);
@@ -3115,7 +3115,7 @@ void InnerLoopVectorizer::sinkScalarOperands(Instruction *PredInst) {
3115
3115
} while (Changed);
3116
3116
}
3117
3117
3118
- void InnerLoopVectorizer::fixWidenedPHIs (VPTransformState &State) {
3118
+ void InnerLoopVectorizer::fixNonInductionPHIs (VPTransformState &State) {
3119
3119
auto Iter = vp_depth_first_deep (Plan.getEntry ());
3120
3120
for (VPBasicBlock *VPBB : VPBlockUtils::blocksOnly<VPBasicBlock>(Iter)) {
3121
3121
for (VPRecipeBase &P : VPBB->phis ()) {
0 commit comments