xref: /llvm-project/bolt/test/RISCV/reloc-rvc-branch.s (revision ab14eb23b6b4939cefa01f8cb16d7540f9686144)
1// RUN: %clang %cflags -o %t %s
2// RUN: llvm-bolt --print-cfg --print-only=_start -o %t.null %t \
3// RUN:    | FileCheck %s
4
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
141:
15  ret
16  .size _start, .-_start
17