1 # RUN: llvm-mc %s -triple=riscv32 \
3 # RUN: llvm-mc %s -triple=riscv64 \
5 # RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
6 # RUN: | llvm-objdump -d -r - \
8 # RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
9 # RUN: | llvm-objdump -d -r - \
12 # 'fp' is an alternate ABI name for 's0' and it should be accepted in input.
13 # However, 's0' should be printed in preference.
15 # CHECK: addi s0, s0, -4