summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fastcc.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-10-14 00:28:48 +0000
committerDan Gohman <gohman@apple.com>2009-10-14 00:28:48 +0000
commit79d4646f4b7066d54314919c3a4f30deb57eaf84 (patch)
tree30c75745466e7e5d8b6f8de80c08ee00e5c90da7 /test/CodeGen/X86/fastcc.ll
parent0ccfc4c0581468832090464b92eba2085e9f5003 (diff)
downloadllvm-79d4646f4b7066d54314919c3a4f30deb57eaf84.tar.gz
llvm-79d4646f4b7066d54314919c3a4f30deb57eaf84.tar.bz2
llvm-79d4646f4b7066d54314919c3a4f30deb57eaf84.tar.xz
Fix this test to account for a movl $0 being emitted as an xor now,
and convert it to FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fastcc.ll')
-rw-r--r--test/CodeGen/X86/fastcc.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fastcc.ll b/test/CodeGen/X86/fastcc.ll
index c70005bc2c..d538264c6d 100644
--- a/test/CodeGen/X86/fastcc.ll
+++ b/test/CodeGen/X86/fastcc.ll
@@ -1,5 +1,6 @@
-; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | grep ecx | grep 0
-; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | grep xmm0 | grep 8
+; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s
+; CHECK: movsd %xmm0, 8(%esp)
+; CHECK: xorl %ecx, %ecx
@d = external global double ; <double*> [#uses=1]
@c = external global double ; <double*> [#uses=1]