1 ; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32
3 @x = global float 1.000000e+00, align 4
4 @y = global float 2.000000e+00, align 4
5 @zz = common global float 0.000000e+00, align 4
6 @z = common global float 0.000000e+00, align 4
8 define float @fv() #0 {
10 ret float 1.000000e+00
24 define double @dv() #0 {
26 ret double 2.000000e+00
40 define void @vf(float %x) #0 {
42 %x.addr = alloca float, align 4
43 store float %x, float* %x.addr, align 4
58 define void @vd(double %x) #0 {
60 %x.addr = alloca double, align 8
61 store double %x, double* %x.addr, align 8
76 define void @foo1() #0 {
78 store float 1.000000e+00, float* @zz, align 4
79 %0 = load float, float* @y, align 4
80 %1 = load float, float* @x, align 4
81 %add = fadd float %0, %1
82 store float %add, float* @z, align 4
97 define void @foo2() #0 {
99 %0 = load float, float* @x, align 4
100 call void @vf(float %0)
116 define void @foo3() #0 {
118 %call = call float @fv()
119 store float %call, float* @x, align 4
134 attributes #0 = { nounwind "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" "unsafe-fp-math"="false" "use-soft-float"="false" }
136 define void @vv() #0 {