A landing pad could have more than one predecessor. In that case, we want that
authorBill Wendling <isanbard@gmail.com>
Tue, 18 Oct 2011 18:30:49 +0000 (18:30 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Oct 2011 18:30:49 +0000 (18:30 +0000)
commitf7b0207f1e89f08b2e2d233b8cc6ba6fcb2a0f4d
tree7bf4f00299eb5bc671fcde9df172685a2cb4dca3
parent9120088979dbcd20e8643bc8f5b22bc605c7d974
A landing pad could have more than one predecessor. In that case, we want that
predecessor to remove the jump to it as well. Delay clearing the 'landing pad'
flag until after the jumps have been removed. (There is an implicit assumption
in several modules that an MBB which jumps to a landing pad has only two
successors.)
<rdar://problem/10304224>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142390 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp