Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / reloc-rvc-branch.s
blob34221c167d865170d3c72005a37c7ed16d0ee77e
1 // RUN: %clang %cflags -o %t %s
2 // RUN: llvm-bolt --print-cfg --print-only=_start -o /dev/null %t \
3 // RUN: | FileCheck %s
5 .text
6 .globl _start
7 .p2align 1
8 // CHECK: Binary Function "_start" after building cfg {
9 _start:
10 // CHECK: beqz a0, .Ltmp0
11 c.beqz a0, 1f
12 nop
13 // CHECK: .Ltmp0
15 ret
16 .size _start, .-_start