• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=sparc
2; PR1540
3
4declare float @sinf(float)
5declare double @sin(double)
6define 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