Skip to content

Commit aeac9e8

Browse files
author
v01dxyz
committed
typo
1 parent 3511e43 commit aeac9e8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Transforms/Utils/SimplifyIndVar.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ void SimplifyIndvar::pushIVUsers(
866866
continue;
867867

868868
// Avoid adding Defs that SCEV expand to themselves, e.g. the LoopPhis
869-
// of the outter loops.
869+
// of the outer loops.
870870
if (!DT->dominates(L->getHeader(), UI->getParent()))
871871
continue;
872872

@@ -879,9 +879,8 @@ void SimplifyIndvar::pushIVUsers(
879879
? 0 // reset depth if we go back inside the loop.
880880
: OutOfLoopChainCounter + (UI->getParent() != Def->getParent());
881881

882-
if (!MaxDepthOutOfLoop || Counter < MaxDepthOutOfLoop) {
882+
if (!MaxDepthOutOfLoop || Counter < MaxDepthOutOfLoop)
883883
SimpleIVUsers.push_back(std::make_tuple(UI, Def, Counter));
884-
}
885884
}
886885
}
887886

0 commit comments

Comments
 (0)