Home | History | Annotate | Download | only in SPARC
      1 ; RUN: llc < %s -march=sparc
      2 ; PR1540
      3 
      4 declare float @sinf(float)
      5 declare double @sin(double)
      6 define double @test_sin(float %F) {
      7         %G = call float @sinf( float %F )               ; <float> [#uses=1]
      8         %H = fpext float %G to double           ; <double> [#uses=1]
      9         %I = call double @sin( double %H )              ; <double> [#uses=1]
     10         ret double %I
     11 }
     12