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 11 12# CHECK-EXPAND: c.lw s0, 0(s1) 13c.lw x8, (x9) 14# CHECK-EXPAND: c.sw s0, 0(s1) 15c.sw x8, (x9) 16# CHECK-EXPAND: c.lwsp s0, 0(sp) 17c.lwsp x8, (x2) 18# CHECK-EXPAND: c.swsp s0, 0(sp) 19c.swsp x8, (x2) 20