[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / RISCV / verify-instr.mir
blobed31126b53d44c9a2c69c0d4d384a480b03da0fa
1 # RUN: not llc -march=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s
3 # CHECK: *** Bad machine code: Invalid immediate ***
4 # CHECK: - instruction: $x2 = ADDI $x1, 10000
6 ---
7 name: verify_instr
8 body: |
9   bb.0:
10     $x2 = ADDI $x1, 10000
11 ...