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