1## Verifies that llvm-bolt allocates two consecutive jumps in two separate basic 2## blocks. 3 4RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %S/Inputs/jmpjmp.s -o %t.o 5RUN: %clang %cflags %t.o -o %t.exe 6RUN: llvm-bolt %t.exe -o %t.null --print-cfg 2>&1 | FileCheck %s 7 8CHECK: Binary Function "testfunc" 9CHECK: State : CFG constructed 10CHECK: Section : .text 11CHECK: IsSimple : 1 12CHECK: BB Count : 4 13CHECK: } 14CHECK: .LBB{{.*}} 15CHECK: {{.*}}: jmp .Ltmp{{.*}} 16CHECK: Successors: .Ltmp{{.*}} 17CHECK: .LFT{{.*}} 18CHECK: {{.*}}: jmp .Ltmp{{.*}} 19CHECK: Successors: .Ltmp{{.*}} 20CHECK: .Ltmp{{.*}} 21CHECK: Predecessors: .LBB{{.*}} 22CHECK: {{.*}}: jmp .Ltmp{{.*}} 23CHECK: Successors: .Ltmp{{.*}} 24CHECK: .Ltmp{{.*}} 25CHECK: Predecessors: .LFT{{.*}}, .Ltmp{{.*}} 26CHECK: {{.*}}: retq 27