aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/RISCV/verify-instr.mir
blob: 622163659a9dd7388fb13c3b97f1e2b9c69bce3e (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: not --crash llc -mtriple=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s

# CHECK: *** Bad machine code: Invalid immediate ***
# CHECK: - instruction: $x2 = ADDI $x1, 10000

---
name: verify_instr
body: |
  bb.0:
    $x2 = ADDI $x1, 10000
...