blob: b6deed3af3f5232fc5c677fa3fc1261f33bec2b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# RUN: not --crash llc -mtriple=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s
# RUN: not --crash llc -mtriple=riscv32 --passes='machine-function(verify)' %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
...
|