Handle the case of a no-return invoke correctly. It actually still has
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Nov 2011 08:23:54 +0000 (08:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Nov 2011 08:23:54 +0000 (08:23 +0000)
commit521fc5bcd73489f604a0b3251247c5ef21b5a0a5
treece33b8f13e1b6e5e1e4749a77d02bd62f2c172a8
parent23d66a58b7900784a5808d24ce2d4a449f869aa8
Handle the case of a no-return invoke correctly. It actually still has
successors, they just are all landing pad successors. We handle this the
same way as no successors. Comments attached for the next person to wade
through here and another lovely test case courtesy of Benjamin Kramer's
bugpoint reduction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145098 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp
test/CodeGen/X86/block-placement.ll