brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 242d8ff Raw
38 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=static2 3@y = global double -1.450000e+00, align 84@x = common global double 0.000000e+00, align 85 6@y1 = common global float 0.000000e+00, align 47@x1 = common global float 0.000000e+00, align 48 9 10 11; Function Attrs: nounwind optsize12define i32 @main() #0 {13entry:14  %0 = load double, ptr @y, align 815  %call = tail call double @fabs(double %0) #216  store double %call, ptr @x, align 817; static-NOT: 	.ent	__call_stub_fp_fabs18; static-NOT: 	jal fabs19  %1 = load float, ptr @y1, align 420  %call2 = tail call float @fabsf(float %1) #221  store float %call2, ptr @x1, align 422; static-NOT: 	.ent	__call_stub_fp_fabsf23; static-NOT: 	jal fabsf24  ret i32 025}26 27; Function Attrs: nounwind optsize readnone28declare double @fabs(double) #129 30declare float @fabsf(float) #131 32attributes #0 = { nounwind optsize "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }33attributes #1 = { nounwind optsize readnone "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="true" }34attributes #2 = { nounwind optsize readnone }35 36 37 38