brintos

brintos / llvm-project-archived public Read only

0
0
Text · 524 B · 3a2bd48 Raw
17 lines · plain
1# RUN: llvm-mc < %s -triple=mips -mcpu=mips32r2 -filetype=obj -o - | \2# RUN:   llvm-readobj -A - | FileCheck --check-prefix=CHECK-OBJ %s3# RUN: llvm-mc < %s -triple=mips -mcpu=mips32r2 -filetype=asm -o - | \4# RUN:   FileCheck --check-prefix=CHECK-ASM %s5 6# Test that the .module directive sets the MT flag in .MIPS.abiflags when7# assembling to boject files.8 9# Test that the .moodule directive is re-emitted when expanding assembly.10 11# CHECK-OBJ: ASEs12# CHECK-OBJ-NEXT: MT (0x40)13 14# CHECK-ASM:  .module mt15.module mt16nop17