Files
clang-p2996/llvm/test/CodeGen/RISCV/verify-instr.mir
Visoiu Mistrih Francis cc9ba5600e [test] -march -> -mtriple (#67741)
Similar to 806761a
2023-09-29 10:43:23 -07:00

12 lines
264 B
YAML

# 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
...