summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/XCore/cos.ll
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-11-01 10:41:28 +0000
committerRichard Osborne <richard@xmos.com>2011-11-01 10:41:28 +0000
commit8591b6b0ab3e95b4865397543b11ccc16edd5203 (patch)
treeb8cca4cc83442b0abd753cb81f1885e7b5950e44 /llvm/test/CodeGen/XCore/cos.ll
parentfec80c6ad2b178363fccf31046956ce11808c289 (diff)
downloadbcm5719-llvm-8591b6b0ab3e95b4865397543b11ccc16edd5203.tar.gz
bcm5719-llvm-8591b6b0ab3e95b4865397543b11ccc16edd5203.zip
Move various XCore tests to FileCheck
llvm-svn: 143457
Diffstat (limited to 'llvm/test/CodeGen/XCore/cos.ll')
-rw-r--r--llvm/test/CodeGen/XCore/cos.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/XCore/cos.ll b/llvm/test/CodeGen/XCore/cos.ll
index 8211f85b9bc..8bc5e81dba4 100644
--- a/llvm/test/CodeGen/XCore/cos.ll
+++ b/llvm/test/CodeGen/XCore/cos.ll
@@ -1,15 +1,17 @@
-; RUN: llc < %s -march=xcore > %t1.s
-; RUN: grep "bl cosf" %t1.s | count 1
-; RUN: grep "bl cos" %t1.s | count 2
+; RUN: llc < %s -march=xcore | FileCheck %s
declare double @llvm.cos.f64(double)
define double @test(double %F) {
+; CHECK: test:
+; CHECK: bl cos
%result = call double @llvm.cos.f64(double %F)
ret double %result
}
declare float @llvm.cos.f32(float)
+; CHECK: testf:
+; CHECK: bl cosf
define float @testf(float %F) {
%result = call float @llvm.cos.f32(float %F)
ret float %result
OpenPOWER on IntegriCloud