1 ; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2 ; RUN: grep "bl cosf" %t1.s | count 1
3 ; RUN: grep "bl cos" %t1.s | count 2
5 declare double @llvm.cos.f64(double)
7 define double @test(double %F) {
8 %result = call double @llvm.cos.f64(double %F)
12 declare float @llvm.cos.f32(float)
14 define float @testf(float %F) {
15 %result = call float @llvm.cos.f32(float %F)