commit | b8eb17c80793c33368e3c3af6de4bd8c1b09ba5b | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Nov 05 18:25:44 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Nov 05 18:25:44 2009 +0000 |
tree | 6c48eb9ad6fa85825bbe37dc3804a75d4cd4773a | |
parent | 6c9fab7404c556c23864cc552572985c3180f4c4 [diff] |
Add an assertion to catch indirectbr in SplitBlockPredecessors. This makes several optimization passes abort in cases where they're currently silently miscompiling code. Remove the indirectbr assertion from SplitEdge. Indirectbr is only a problem for critical edges, and SplitEdge defers to SplitCriticalEdge to handle those, and SplitCriticalEdge has its own assertion for indirectbr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86147 91177308-0d34-0410-b5e6-96231b3b80d8