Home | History | Annotate | Download | only in XCore
      1 ; RUN: llc < %s -march=xcore > %t1.s
      2 ; RUN: grep "bl sinf" %t1.s | count 1
      3 ; RUN: grep "bl sin" %t1.s | count 2
      4 declare double @llvm.sin.f64(double)
      5 
      6 define double @test(double %F) {
      7         %result = call double @llvm.sin.f64(double %F)
      8 	ret double %result
      9 }
     10 
     11 declare float @llvm.sin.f32(float)
     12 
     13 define float @testf(float %F) {
     14         %result = call float @llvm.sin.f32(float %F)
     15 	ret float %result
     16 }
     17