[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / cpadd-bad.s
blobce0b480605637edee84b943d48d361562a67dcb6
1 # RUN: not llvm-mc -triple=mips-unknown-linux-gnu %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple=mips64-unknown-linux-gnuabin32 %s 2>&1 | FileCheck %s
3 # RUN: not llvm-mc -triple=mips64-unknown-linux-gnu %s 2>&1 | FileCheck %s
5 .text
6 .cpadd $32
7 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid register
8 .cpadd $foo
9 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: expected register
10 .cpadd bar
11 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: expected register
12 .cpadd $25 foobar
13 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: unexpected token, expected end of statement