[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / RISCV / rvi-alternate-abi-names.s
blob04ce18f1d20c5e2657e37f6a3b45b97c6d181e4e
1 # RUN: llvm-mc %s -triple=riscv32 \
2 # RUN: | FileCheck %s
3 # RUN: llvm-mc %s -triple=riscv64 \
4 # RUN: | FileCheck %s
5 # RUN: llvm-mc -filetype=obj -triple riscv32 < %s \
6 # RUN: | llvm-objdump -d -r - \
7 # RUN: | FileCheck %s
8 # RUN: llvm-mc -filetype=obj -triple riscv64 < %s \
9 # RUN: | llvm-objdump -d -r - \
10 # RUN: | FileCheck %s
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
16 addi fp, fp, -4