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