[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / rv64zbb-invalid.s
blobfb03fd1af9d852a08be4f60439cea69ffafb7759
1 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zbb < %s 2>&1 | FileCheck %s
3 # Too many operands
4 clzw t0, t1, t2 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
5 # Too many operands
6 ctzw t0, t1, t2 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
7 # Too many operands
8 cpopw t0, t1, t2 # CHECK: :[[@LINE]]:15: error: invalid operand for instruction