Home | History | Annotate | Download | only in crosstest
      1 declare float @llvm.sqrt.f32(float)
      2 declare double @llvm.sqrt.f64(double)
      3 
      4 define float @_Z6mySqrtf(float %a) {
      5   %x = call float @llvm.sqrt.f32(float %a)
      6   ret float %x
      7 }
      8 
      9 define double @_Z6mySqrtd(double %a) {
     10   %x = call double @llvm.sqrt.f64(double %a)
     11   ret double %x
     12 }
     13