[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / RISCV / rvf-pseudos.s
blob5907adf5bf45d83e9bf5a65f25c664ed3b5bf784
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+f | FileCheck %s
2 # RUN: llvm-mc %s -triple=riscv64 -mattr=+f | FileCheck %s
4 # CHECK: .Lpcrel_hi0:
5 # CHECK: auipc a2, %pcrel_hi(a_symbol)
6 # CHECK: flw fa2, %pcrel_lo(.Lpcrel_hi0)(a2)
7 flw fa2, a_symbol, a2
9 # CHECK: .Lpcrel_hi1:
10 # CHECK: auipc a3, %pcrel_hi(a_symbol)
11 # CHECK: fsw fa2, %pcrel_lo(.Lpcrel_hi1)(a3)
12 fsw fa2, a_symbol, a3