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)
commit8f47fc8f00fbb1cc2215fc90942b0948e3ca121b
tree471ce388123c90e9fb98987a959ec6368db82346
parent3ed0316f756e2f1730f46654776fcf77f5ace7aa
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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166448 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/indirectbr-2.ll [new file with mode: 0644]