Don't try to split weird critical edges that really aren't:
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Nov 2010 00:58:37 +0000 (00:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Nov 2010 00:58:37 +0000 (00:58 +0000)
commit371e82bf513778bf2bde4c3eebe9407af2cef21f
treed3f68c5c4df748be435e61e7276c3ec8741d9023
parente85bd773e64e5e6e33a3c9b57129c4c4703ba82f
Don't try to split weird critical edges that really aren't:

BB#1: derived from LLVM BB %bb.nph28
    Live Ins: %AL
    Predecessors according to CFG: BB#0
TEST8rr %reg16384<kill>, %reg16384, %EFLAGS<imp-def>; GR8:%reg16384
JNE_4 <BB#2>, %EFLAGS<imp-use,kill>
JMP_4 <BB#2>
    Successors according to CFG: BB#2 BB#2

These double CFG edges only ever occur in bugpoint-generated code, so there is
no need to attempt something clever.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp