21 lines · plain
1; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32r2 \2; RUN: < %s | FileCheck %s3; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -fast-isel-abort=3 -mcpu=mips32 \4; RUN: < %s | FileCheck %s5 6@d = global double 0x40147E6B74DF0446, align 87@f = common global float 0.000000e+00, align 48@.str = private unnamed_addr constant [6 x i8] c"%f \0A\00", align 19 10; Function Attrs: nounwind11define void @fv() #0 {12entry:13 %0 = load double, ptr @d, align 814 %conv = fptrunc double %0 to float15; CHECK: cvt.s.d $f{{[0-9]+}}, $f{{[0-9]+}}16 store float %conv, ptr @f, align 417 ret void18}19 20attributes #1 = { nounwind }21