1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32r2 \ 2*9880d681SAndroid Build Coastguard Worker; RUN: < %s | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mipsel -relocation-model=pic -O0 -fast-isel-abort=1 -mcpu=mips32 \ 4*9880d681SAndroid Build Coastguard Worker; RUN: < %s | FileCheck %s 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Worker@d = global double 0x40147E6B74DF0446, align 8 7*9880d681SAndroid Build Coastguard Worker@f = common global float 0.000000e+00, align 4 8*9880d681SAndroid Build Coastguard Worker@.str = private unnamed_addr constant [6 x i8] c"%f \0A\00", align 1 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker; Function Attrs: nounwind 11*9880d681SAndroid Build Coastguard Workerdefine void @fv() #0 { 12*9880d681SAndroid Build Coastguard Workerentry: 13*9880d681SAndroid Build Coastguard Worker %0 = load double, double* @d, align 8 14*9880d681SAndroid Build Coastguard Worker %conv = fptrunc double %0 to float 15*9880d681SAndroid Build Coastguard Worker; CHECK: cvt.s.d $f{{[0-9]+}}, $f{{[0-9]+}} 16*9880d681SAndroid Build Coastguard Worker store float %conv, float* @f, align 4 17*9880d681SAndroid Build Coastguard Worker ret void 18*9880d681SAndroid Build Coastguard Worker} 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Workerattributes #1 = { nounwind } 21