1; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=static 2 3@y = global double -1.450000e+00, align 8 4@x = common global double 0.000000e+00, align 8 5 6@y1 = common global float 0.000000e+00, align 4 7@x1 = common global float 0.000000e+00, align 4 8 9 10 11; Function Attrs: nounwind optsize 12define i32 @main() #0 { 13entry: 14 %0 = load double, double* @y, align 8 15 %call = tail call double @fabs(double %0) #2 16 store double %call, double* @x, align 8 17; static-NOT: .ent __call_stub_fp_fabs 18; static-NOT: jal fabs 19 %1 = load float, float* @y1, align 4 20 %call2 = tail call float @fabsf(float %1) #2 21 store float %call2, float* @x1, align 4 22; static-NOT: .ent __call_stub_fp_fabsf 23; static-NOT: jal fabsf 24 ret i32 0 25} 26 27; Function Attrs: nounwind optsize readnone 28declare double @fabs(double) #1 29 30declare float @fabsf(float) #1 31 32attributes #0 = { nounwind optsize "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } 33attributes #1 = { nounwind optsize readnone "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" } 34attributes #2 = { nounwind optsize readnone } 35 36 37 38