1 # RUN: not llvm-mc -triple riscv32 -mattr=+experimental-zicond < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-zicond < %s 2>&1 | FileCheck %s
4 # Use of operand modifier on register name
5 czero.eqz t1
, %lo
(t2
), t3
# CHECK: :[[@LINE]]:15: error: invalid operand for instruction
7 # Invalid register name
8 czero.nez a4
, a3
, foo
# CHECK: :[[@LINE]]:19: error: invalid operand for instruction
10 # Invalid operand type
11 czero.eqz t1
, 2, t3
# CHECK: :[[@LINE]]:15: error: invalid operand for instruction
14 czero.eqz t1
, t2
, t3
, t4
# CHECK: :[[@LINE]]:23: error: invalid operand for instruction
15 czero.nez t1
, t2
, t3
, 4 # CHECK: :[[@LINE]]:23: error: invalid operand for instruction
18 czero.eqz t1
, t2
# CHECK: :[[@LINE]]:1: error: too few operands for instruction