[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / rv32zbr-invalid.s
blob9a6a6b5fbf40ceaa786aadc9d0448fc4134009ce
1 # RUN: not llvm-mc -triple riscv32 -mattr=+experimental-b,experimental-zbr < %s 2>&1 | FileCheck %s
3 # Too many operands
4 crc32.b t0, t1, t2 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
5 # Too many operands
6 crc32.h t0, t1, t2 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
7 # Too many operands
8 crc32.w t0, t1, t2 # CHECK: :[[@LINE]]:17: error: invalid operand for instruction
9 # Too many operands
10 crc32c.b t0, t1, t2 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
11 # Too many operands
12 crc32c.h t0, t1, t2 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
13 # Too many operands
14 crc32c.w t0, t1, t2 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
15 crc32.d t0, t1 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set
16 crc32c.d t0, t1 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set