Reverting patch in revision 89758, initial attempt at fixing PR5373 has proven to be bogus.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Edward O'Callaghan
2009-11-25 05:38:41 +00:00
parent f87ea4dd9a
commit 25798439da
2 changed files with 1 additions and 24 deletions

View File

@@ -296,6 +296,7 @@ static bool isTrivialLoopExitBlockHelper(Loop *L, BasicBlock *BB,
// first exit.
if (ExitBB != 0) return false;
ExitBB = BB;
return true;
}
// Otherwise, this is an unvisited intra-loop node. Check all successors.