forked from OSchip/llvm-project
Disable a previous patch that was causing indvars to loop infinitely :(
llvm-svn: 13108
This commit is contained in:
parent
8f02e9c5f7
commit
c27302c79f
|
@ -454,6 +454,7 @@ void IndVarSimplify::runOnLoop(Loop *L) {
|
|||
Changed = true;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Now replace all derived expressions in the loop body with simpler
|
||||
// expressions.
|
||||
for (unsigned i = 0, e = L->getBlocks().size(); i != e; ++i)
|
||||
|
@ -478,6 +479,7 @@ void IndVarSimplify::runOnLoop(Loop *L) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue