@@ -515,8 +515,8 @@ class InnerLoopVectorizer {
515515 VPReplicateRecipe *RepRecipe, const VPLane &Lane,
516516 VPTransformState &State);
517517
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);
520520
521521 // / Returns the original loop trip count.
522522 Value *getTripCount () const { return TripCount; }
@@ -2977,8 +2977,8 @@ LoopVectorizationCostModel::getVectorIntrinsicCost(CallInst *CI,
29772977}
29782978
29792979void 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);
29822982
29832983 // Forget the original basic block.
29842984 PSE.getSE ()->forgetLoop (OrigLoop);
@@ -3115,7 +3115,7 @@ void InnerLoopVectorizer::sinkScalarOperands(Instruction *PredInst) {
31153115 } while (Changed);
31163116}
31173117
3118- void InnerLoopVectorizer::fixWidenedPHIs (VPTransformState &State) {
3118+ void InnerLoopVectorizer::fixNonInductionPHIs (VPTransformState &State) {
31193119 auto Iter = vp_depth_first_deep (Plan.getEntry ());
31203120 for (VPBasicBlock *VPBB : VPBlockUtils::blocksOnly<VPBasicBlock>(Iter)) {
31213121 for (VPRecipeBase &P : VPBB->phis ()) {
0 commit comments