Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LoopSimplify bug fix. Handle indirect loop back edges. | Andrew Trick | 2012-03-20 | 1 | -0/+41 |
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 |