commit | a58a04921deba911d6ead8d24f495cec234681c1 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Nov 20 20:51:18 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Nov 20 20:51:18 2009 +0000 |
tree | b051c1c24f3d53ceea308c0a6ca0ddb599f21e57 | |
parent | 6a2392131e2e5b8c4123d69cc959831b4fe719ca [diff] |
Make Loop::getLoopLatch() work on loops which don't have preheaders, as it may be used in contexts where preheader insertion may have failed due to an indirectbr. Make LoopSimplify's LoopSimplify::SeparateNestedLoop properly fail in the case that it would require splitting an indirectbr edge. These fix PR5502. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89484 91177308-0d34-0410-b5e6-96231b3b80d8