[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / macro-li-bad.s
blob29eedce713ab1bbf5089c689d6375ef02dc88380
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
2 # RUN: FileCheck %s < %t1 --check-prefix=32-BIT
3 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n32 2>&1 | \
4 # RUN: FileCheck %s --check-prefix=64-BIT
5 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 2>&1 | \
6 # RUN: FileCheck %s --check-prefix=64-BIT
8 .text
9 li $5, 0x100000000
10 # 32-BIT: :[[@LINE-1]]:10: error: expected 32-bit immediate
11 # 64-BIT: :[[@LINE-2]]:10: error: expected 32-bit immediate