[LV] Add test showing debug output for loops with uncountable BTCs.
[llvm-project.git] / bolt / test / RISCV / branch-no-secondary-entry.s
blobf83ca515791561b036c1d8478de89b8d2d8c88bb
1 /// Test that no secondary entry points are created for basic block labels used
2 /// by branches.
3 // RUN: %clang %cflags -o %t %s
4 // RUN: llvm-bolt -print-cfg -o %t.null %t 2>&1 | FileCheck %s
6 // CHECK: Binary Function "_start" after building cfg {
7 // CHECK: IsMultiEntry: 0
8 // CHECK: beq t0, t1, .Ltmp0
9 // CHECK: {{^}}.Ltmp0
10 // CHECK: ret
12 .globl _start
13 _start:
14 beq t0, t1, 1f
16 ret
17 .size _start, .-_start