When a block ends in an indirect branch, add its successors to the machine basic...
authorBill Wendling <isanbard@gmail.com>
Mon, 22 Oct 2012 23:30:04 +0000 (23:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 22 Oct 2012 23:30:04 +0000 (23:30 +0000)
commit12cda50f1f043a3b8d41dbd8c5becdbd8fe16b6d
tree48e7ba27ad4877337189821104e1d5fc3a929ecd
parent4750b77ea119a9367ec4ae180e4003c7ebc8b16a
When a block ends in an indirect branch, add its successors to the machine basic block.

The CFG of the machine function needs to know that the targets of the indirect
branch are successors to the indirect branch.
<rdar://problem/12529625>

llvm-svn: 166448
llvm/lib/Target/ARM/ARMFastISel.cpp
llvm/test/CodeGen/ARM/indirectbr-2.ll [new file with mode: 0644]