summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit03a76673493d75790871c706564cde97ab5b003e (patch)
tree3844902ce63b68f2b1ac2c59d409a60776033684 /llvm
parentb4ec3fc42d20d9e9a3ed40f7bf78c789a495b0b4 (diff)
downloadbcm5719-llvm-03a76673493d75790871c706564cde97ab5b003e.tar.gz
bcm5719-llvm-03a76673493d75790871c706564cde97ab5b003e.zip
Fix this test to account for a movl $0 being emitted as an xor now,
and convert it to FileCheck. llvm-svn: 84065
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/fastcc.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fastcc.ll b/llvm/test/CodeGen/X86/fastcc.ll
index c70005bc2ce..d538264c6d7 100644
--- a/llvm/test/CodeGen/X86/fastcc.ll
+++ b/llvm/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]
OpenPOWER on IntegriCloud