commit | 25798439da8c1a11512317dd38d6f0022a3d1f7d | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <eocallaghan@auroraux.org> | Wed Nov 25 05:38:41 2009 +0000 |
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | Wed Nov 25 05:38:41 2009 +0000 |
tree | a58df3eed3663641e32966c302e2f4be1f2ad5b8 | |
parent | f87ea4dd9ac9816131ee52ee6393c7b4012f2e68 [diff] |
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
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp index 382e261..38d267a 100644 --- a/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -296,6 +296,7 @@ // first exit. if (ExitBB != 0) return false; ExitBB = BB; + return true; } // Otherwise, this is an unvisited intra-loop node. Check all successors.