[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / mips32r6 / invalid-mips32-wrong-error.s
blob3131c5a8fced680ead15c891a566c363571ad114
1 # Instructions that are invalid and are correctly rejected but use the wrong
2 # error message at the moment.
4 # RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 \
5 # RUN: 2>%t1
6 # RUN: FileCheck %s < %t1
8 .set noat
9 bc2f 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
10 bc2f $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
11 bc2t 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
12 bc2t $fcc0,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
13 bc2tl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
14 bc2tl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
15 bc2fl 4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
16 bc2fl $fcc1,4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction