1 ;; When we compile object with "-flto", the info of "-mnan=2008"
2 ;; and "-mfp32/-mfpxx/-mfp64" will be missing in the result IR file.
3 ;; Thus the asm/obj files will have wrong format.
4 ;; With D140270 we extract these info from the first function,
5 ;; and set it for the whole compile unit.
6 ; RUN: llc %s -o - | FileCheck %s
8 target triple = "mipsel-unknown-linux-gnu"
10 define dso_local void @test() #0 {
14 attributes #0 = { "target-cpu"="mips32r2" "target-features"="+fp64,+mips32r2,+nan2008" }
18 ; CHECK: .module fp=64