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