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