[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / mt / module-directive.s
blob0b7430890082082f6652e25d956dc73270e1979d
1 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
2 # RUN: llvm-readobj -A - | FileCheck --check-prefix=CHECK-OBJ %s
3 # RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
4 # RUN: FileCheck --check-prefix=CHECK-ASM %s
6 # Test that the .module directive sets the MT flag in .MIPS.abiflags when
7 # assembling to boject files.
9 # Test that the .moodule directive is re-emitted when expanding assembly.
11 # CHECK-OBJ: ASEs
12 # CHECK-OBJ-NEXT: MT (0x40)
14 # CHECK-ASM: .module mt
15 .module mt
16 nop