13 lines · plain
1# RUN: not --crash llc -mtriple=riscv32 -run-pass machineverifier %s -o - 2>&1 | FileCheck %s2# RUN: not --crash llc -mtriple=riscv32 --passes='machine-function(verify)' %s -o - 2>&1 | FileCheck %s3 4# CHECK: *** Bad machine code: Invalid immediate ***5# CHECK: - instruction: $x2 = ADDI $x1, 100006 7---8name: verify_instr9body: |10 bb.0:11 $x2 = ADDI $x1, 1000012...13