Home | History | Annotate | Download | only in Mips
      1 ; Double return in abicall (default)
      2 ; RUN: llc < %s -march=mips
      3 ; PR2615
      4 
      5 define double @main(...) {
      6 entry:
      7         %retval = alloca double         ; <double*> [#uses=3]
      8         store double 0.000000e+00, double* %retval
      9         %r = alloca double              ; <double*> [#uses=1]
     10         load double, double* %r         ; <double>:0 [#uses=1]
     11         store double %0, double* %retval
     12         br label %return
     13 
     14 return:         ; preds = %entry
     15         load double, double* %retval            ; <double>:1 [#uses=1]
     16         ret double %1
     17 }
     18 
     19