• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=xcore > %t1.s
2; RUN: grep "bl log10f" %t1.s | count 1
3; RUN: grep "bl log10" %t1.s | count 2
4declare double @llvm.log10.f64(double)
5
6define double @test(double %F) {
7        %result = call double @llvm.log10.f64(double %F)
8	ret double %result
9}
10
11declare float @llvm.log10.f32(float)
12
13define float @testf(float %F) {
14        %result = call float @llvm.log10.f32(float %F)
15	ret float %result
16}
17