1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -relocation-model=static -O3 < %s -mips-os16 | FileCheck %s -check-prefix=32
3 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips32 -relocation-model=static -O3 -mips16-constant-islands < %s -mips-os16 | FileCheck %s -check-prefix=cisle
5 @i = global i32 1, align 4
6 @f = global float 1.000000e+00, align 4
22 %0 = load i32, ptr @i, align 4
33 define void @vif(i32 %i, float %f) #0 {
35 %i.addr = alloca i32, align 4
36 %f.addr = alloca float, align 4
37 store i32 %i, ptr %i.addr, align 4
38 store float %f, ptr %f.addr, align 4
49 define void @foo() #0 {
51 store float 2.000000e+00, ptr @f, align 4
64 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
67 define float @fv() #0 {
69 ret float 1.000000e+00