1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Disable a previous patch that was causing indvars to loop infinitely :(

llvm-svn: 13108
This commit is contained in:
Chris Lattner 2004-04-22 15:12:36 +00:00
parent c79f8aeb82
commit 6716bcd0cc

View File

@ -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);
}