[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / rv64zbt-invalid.s
blob57f36b9af30c107fa14fdaf5b53c00500d922620
1 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zbt < %s 2>&1 | FileCheck %s
3 # Too few operands
4 fslw t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 fsrw t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Immediate operand out of range
8 fsriw t0, t1, t2, 32 # CHECK: :[[@LINE]]:19: error: immediate must be an integer in the range [0, 31]
9 fsriw t0, t1, t2, -1 # CHECK: :[[@LINE]]:19: error: immediate must be an integer in the range [0, 31]