[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / mt / set-directive.s
blob3593c2ddde5225fc9be67844ea8d73ea8662e636
1 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
2 # RUN: llvm-readobj -A - | FileCheck %s --check-prefix=CHECK-OBJ
3 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
4 # RUN: FileCheck %s --check-prefix=CHECK-ASM
6 # Test that the MT ASE flag in .MIPS.abiflags is _not_ set by .set.
7 # Test that '.set mt' is emitted by the asm target streamer.
9 # CHECK-OBJ: ASEs
10 # CHECK-OBJ-NOT: MT (0x40)
12 # CHECK-ASM: .set mt
13 .set mt
14 nop