Revert "[TargetVersion] Only enable on RISC-V and AArch64" (#117110)
[llvm-project.git] / bolt / test / RISCV / reloc-branch.s
blob6a8b5a28e19d92059aecc9af95cca67797b2c18b
1 // RUN: %clang %cflags -o %t %s
2 // RUN: llvm-bolt --print-cfg --print-only=_start -o %t.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