Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / reloc-branch.s
blob43991149af8c809de6c5d3b9db5686829668853a
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: beq zero, zero, .Ltmp0
11 beq zero, zero, 1f
12 nop
13 // CHECK: .Ltmp0
15 ret
16 .size _start, .-_start