@@ -541,8 +541,8 @@ class InnerLoopVectorizer {
541
541
// / Set up the values of the IVs correctly when exiting the vector loop.
542
542
void fixupIVUsers (PHINode *OrigPhi, const InductionDescriptor &II,
543
543
Value *VectorTripCount, Value *EndValue,
544
- BasicBlock *MiddleBlock, BasicBlock *VectorHeader ,
545
- VPlan &Plan, VPTransformState &State);
544
+ BasicBlock *MiddleBlock, VPlan &Plan ,
545
+ VPTransformState &State);
546
546
547
547
// / Iteratively sink the scalarized operands of a predicated instruction into
548
548
// / the block that was created for it.
@@ -2742,8 +2742,7 @@ InnerLoopVectorizer::createVectorizedLoopSkeleton(
2742
2742
void InnerLoopVectorizer::fixupIVUsers (PHINode *OrigPhi,
2743
2743
const InductionDescriptor &II,
2744
2744
Value *VectorTripCount, Value *EndValue,
2745
- BasicBlock *MiddleBlock,
2746
- BasicBlock *VectorHeader, VPlan &Plan,
2745
+ BasicBlock *MiddleBlock, VPlan &Plan,
2747
2746
VPTransformState &State) {
2748
2747
// There are two kinds of external IV usages - those that use the value
2749
2748
// computed in the last iteration (the PHI) and those that use the penultimate
@@ -2954,8 +2953,7 @@ void InnerLoopVectorizer::fixVectorizedLoop(VPTransformState &State,
2954
2953
for (const auto &Entry : Legal->getInductionVars ())
2955
2954
fixupIVUsers (Entry.first , Entry.second ,
2956
2955
getOrCreateVectorTripCount (VectorLoop->getLoopPreheader ()),
2957
- IVEndValues[Entry.first ], LoopMiddleBlock,
2958
- VectorLoop->getHeader (), Plan, State);
2956
+ IVEndValues[Entry.first ], LoopMiddleBlock, Plan, State);
2959
2957
}
2960
2958
2961
2959
// Fix live-out phis not already fixed earlier.
0 commit comments