[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / RISCV / rv64zfh-invalid.s
blob8819570995779ae55fb834571a915c96180adcce
1 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-zfh < %s 2>&1 | \
2 # RUN: FileCheck %s
4 # Integer registers where FP regs are expected
5 fcvt.l.h ft0, a0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
6 fcvt.lu.h ft1, a1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
8 # FP registers where integer regs are expected
9 fcvt.h.l a2, ft2 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
10 fcvt.h.lu a3, ft3 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction