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