diff options
author | Andrew Trick <atrick@apple.com> | 2012-03-20 21:24:52 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-03-20 21:24:52 +0000 |
commit | 7edc277f7214837d3b7cc382350ea1eb968d09aa (patch) | |
tree | 5da24a29f809e93293d1a83961b92f42a04f45eb /lib/Transforms/Utils/CloneFunction.cpp | |
parent | cd1142ef7f9ed5a570da8b332ba481061eb6fcb6 (diff) |
LoopSimplify bug fix. Handle indirect loop back edges.
Do not call SplitBlockPredecessors on a loop preheader when one of the
predecessors is an indirectbr. Otherwise, you will hit this assert:
!isa<IndirectBrInst>(Preds[i]->getTerminator()) && "Cannot split an edge from an IndirectBrInst"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions