[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / RISCV / rvc-aliases-valid.s
blobe6fd05435ec6182d263916f2bb8192a61e564d6f
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+c -riscv-no-aliases \
2 # RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+c -riscv-no-aliases \
4 # RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
5 # RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c < %s \
6 # RUN: | llvm-objdump -M no-aliases -d - \
7 # RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
8 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c < %s \
9 # RUN: | llvm-objdump -M no-aliases -d - \
10 # RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
12 # CHECK-EXPAND: c.lw s0, 0(s1)
13 c.lw x8, (x9)
14 # CHECK-EXPAND: c.sw s0, 0(s1)
15 c.sw x8, (x9)
16 # CHECK-EXPAND: c.lwsp s0, 0(sp)
17 c.lwsp x8, (x2)
18 # CHECK-EXPAND: c.swsp s0, 0(sp)
19 c.swsp x8, (x2)