File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
llvm/lib/Transforms/Utils Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -866,7 +866,7 @@ void SimplifyIndvar::pushIVUsers(
866
866
continue ;
867
867
868
868
// Avoid adding Defs that SCEV expand to themselves, e.g. the LoopPhis
869
- // of the outter loops.
869
+ // of the outer loops.
870
870
if (!DT->dominates (L->getHeader (), UI->getParent ()))
871
871
continue ;
872
872
@@ -879,9 +879,8 @@ void SimplifyIndvar::pushIVUsers(
879
879
? 0 // reset depth if we go back inside the loop.
880
880
: OutOfLoopChainCounter + (UI->getParent () != Def->getParent ());
881
881
882
- if (!MaxDepthOutOfLoop || Counter < MaxDepthOutOfLoop) {
882
+ if (!MaxDepthOutOfLoop || Counter < MaxDepthOutOfLoop)
883
883
SimpleIVUsers.push_back (std::make_tuple (UI, Def, Counter));
884
- }
885
884
}
886
885
}
887
886
You can’t perform that action at this time.
0 commit comments