We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55586f1 commit 2233b54Copy full SHA for 2233b54
llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
@@ -931,8 +931,8 @@ bool VPlanTransforms::handleMaxMinNumReductions(VPlan &Plan) {
931
if (auto *DerivedIV = dyn_cast<VPDerivedIVRecipe>(VecV)) {
932
if (DerivedIV->getNumUsers() == 1 &&
933
DerivedIV->getOperand(1) == &Plan.getVectorTripCount()) {
934
- auto *NewSel = MiddleBuilder.createSelect(AnyNaN, LoopRegion->getCanonicalIV(),
935
- &Plan.getVectorTripCount());
+ auto *NewSel = MiddleBuilder.createSelect(
+ AnyNaN, LoopRegion->getCanonicalIV(), &Plan.getVectorTripCount());
936
DerivedIV->moveAfter(&*MiddleBuilder.getInsertPoint());
937
DerivedIV->setOperand(1, NewSel);
938
continue;
0 commit comments