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