Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / reloc-jal.s
blob427e8f230d89a4e7787a27104e9fba0e0f115e65
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
7 .global f
8 .p2align 1
9 f:
10 ret
11 .size f, .-f
13 // CHECK: Binary Function "_start" after building cfg {
14 .globl _start
15 .p2align 1
16 _start:
17 // CHECK: jal ra, f
18 jal ra, f
19 ret
20 .size _start, .-_start