Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / Mips / module-softfloat.s
blobc728b80301359582a4ff94480b68c002971d61d0
1 # RUN: llvm-mc %s -triple=mips -mcpu=mips32 | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -triple=mips -mcpu=mips32 -filetype=obj -o - | \
5 # RUN: llvm-readobj -A - | \
6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
8 # CHECK-ASM: .module softfloat
10 # Check if the MIPS.abiflags section was correctly emitted:
11 # CHECK-OBJ: MIPS ABI Flags {
12 # CHECK-OBJ: FP ABI: Soft float (0x3)
13 # CHECK-OBJ: CPR1 size: 0
14 # CHECK-OBJ: }
16 .module softfloat
18 # FIXME: Test should include gnu_attributes directive when implemented.
19 # An explicit .gnu_attribute must be checked against the effective
20 # command line options and any inconsistencies reported via a warning.