[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / rv32zbproposedc-invalid.s
blob942852a34b1ec9d93ce9b05b7112a40bcf67aee5
1 # RUN: not llvm-mc -triple riscv32 -mattr=+c,+experimental-zbproposedc,+experimental-Zba < %s 2>&1 | FileCheck %s
3 # Too many operands
4 c.not s0, s1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
5 c.neg s0, s1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
6 c.zext.w s0 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set