[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / Mips / elf_eflags_nanlegacy.s
blob4d93448647d39b73219846b167bed6b452510fc4
1 # RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - | \
2 # RUN: llvm-readobj -h - | \
3 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
4 # RUN: llvm-mc -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| \
5 # RUN: FileCheck %s -check-prefix=CHECK-ASM
7 # This *MUST* match the output of 'gcc -c' compiled with the same triple.
8 # CHECK-OBJ: Flags [ (0x50001004)
10 # CHECK-ASM: .nan 2008
11 # CHECK-ASM: .nan legacy
13 .nan 2008
14 # Let's override the previous directive!
15 .nan legacy