diff options
Diffstat (limited to 'test/CodeGen/XCore/log10.ll')
-rw-r--r-- | test/CodeGen/XCore/log10.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/XCore/log10.ll b/test/CodeGen/XCore/log10.ll index a72b8bfaf6..88b29b1966 100644 --- a/test/CodeGen/XCore/log10.ll +++ b/test/CodeGen/XCore/log10.ll @@ -1,9 +1,9 @@ -; RUN: llc < %s -march=xcore > %t1.s -; RUN: grep "bl log10f" %t1.s | count 1 -; RUN: grep "bl log10" %t1.s | count 2 +; RUN: llc < %s -march=xcore | FileCheck %s declare double @llvm.log10.f64(double) define double @test(double %F) { +; CHECK: test: +; CHECK: bl log10 %result = call double @llvm.log10.f64(double %F) ret double %result } @@ -11,6 +11,8 @@ define double @test(double %F) { declare float @llvm.log10.f32(float) define float @testf(float %F) { +; CHECK: testf: +; CHECK: bl log10f %result = call float @llvm.log10.f32(float %F) ret float %result } |