brintos

brintos / llvm-project-archived public Read only

0
0
Text · 513 B · 6e21e66 Raw
20 lines · plain
1# RUN: llvm-mc -triple riscv32 -filetype=obj -mattr=+c < %s \2# RUN:     | llvm-objdump -d -M no-aliases - | FileCheck --check-prefix=CHECK-INSTR %s3# RUN: llvm-mc -filetype=obj -mattr=+c -triple=riscv32 %s \4# RUN:     | llvm-readobj -r - | FileCheck %s -check-prefix=CHECK-REL5 6.LBB0_2:7# CHECK-INSTR: c.j     08c.j     .LBB0_29# CHECK-INSTR: c.jal   0x810c.jal   func111# CHECK-INSTR: c.beqz  a3, 0x012c.beqz  a3, .LBB0_213# CHECK-INSTR: c.bnez  a5, 0x014c.bnez  a5, .LBB0_215 16func1:17  nop18 19# CHECK-REL-NOT: R_RISCV20