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