mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 19:15:30 +00:00
revert my previous change, it exposed other problems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b20f97959e
commit
5077c7be92
@ -169,7 +169,7 @@ bool LoopSimplify::ProcessLoop(Loop *L) {
|
||||
PI != PE; ++PI)
|
||||
// Must be exactly this loop: no subloops, parent loops, or non-loop preds
|
||||
// allowed.
|
||||
if (LI.getLoopFor(*PI) != L) {
|
||||
if (!L->contains(*PI)) {
|
||||
RewriteLoopExitBlock(L, ExitBlock);
|
||||
NumInserted++;
|
||||
Changed = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user