Fix this test to account for a movl $0 being emitted as an xor now,
authorDan Gohman <gohman@apple.com>
Wed, 14 Oct 2009 00:28:48 +0000 (00:28 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 14 Oct 2009 00:28:48 +0000 (00:28 +0000)
and convert it to FileCheck.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84065 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/fastcc.ll

index c70005bc2ce64b5feefa68d520fc1a0ed56a4615..d538264c6d7c06e0e9d6cd18d788f45856aec356 100644 (file)
@@ -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]