If a MachineBasicBlock has multiple ways of reaching another block,
authorDan Gohman <gohman@apple.com>
Tue, 5 May 2009 21:10:19 +0000 (21:10 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 5 May 2009 21:10:19 +0000 (21:10 +0000)
commit5412d06e9c352c9795f4a71b91c4f869585866eb
treeb9dd046cc5947a1881033e8a0c35e6bbd85d944b
parent8c87ae229c43939f5868b5778c53e787df0927ef
If a MachineBasicBlock has multiple ways of reaching another block,
allow it to have multiple CFG edges to that block. This is needed
to allow MachineBasicBlock::isOnlyReachableByFallthrough to work
correctly. This fixes PR4126.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IfConversion.cpp
lib/CodeGen/MachineBasicBlock.cpp
test/CodeGen/X86/omit-label.ll [new file with mode: 0644]