Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / RISCV / rv32xtheadbs-invalid.s
blob4246681aee22445c74ed1b7b326ad9f2c444e8b6
1 # RUN: not llvm-mc -triple riscv32 -mattr=+xtheadbs < %s 2>&1 | FileCheck %s
3 # Too few operands
4 th.tst t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Immediate operand out of range
6 th.tst t0, t1, 32 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31]
7 th.tst t0, t1, -1 # CHECK: :[[@LINE]]:16: error: immediate must be an integer in the range [0, 31]