1 ; RUN: llc < %s -march=xcore > %t1.s
2 ; RUN: grep "bl sqrtf" %t1.s | count 1
3 ; RUN: grep "bl sqrt" %t1.s | count 2
4 declare double @llvm.sqrt.f64(double)
6 define double @test(double %F) {
7 %result = call double @llvm.sqrt.f64(double %F)
11 declare float @llvm.sqrt.f32(float)
13 define float @testf(float %F) {
14 %result = call float @llvm.sqrt.f32(float %F)