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:
parent
c79f8aeb82
commit
6716bcd0cc
@ -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
Block a user