From: Dan Gohman Date: Wed, 14 Oct 2009 00:28:48 +0000 (+0000) Subject: Fix this test to account for a movl $0 being emitted as an xor now, X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=79d4646f4b7066d54314919c3a4f30deb57eaf84;p=oota-llvm.git 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 --- diff --git a/test/CodeGen/X86/fastcc.ll b/test/CodeGen/X86/fastcc.ll index c70005bc2ce..d538264c6d7 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 ; [#uses=1] @c = external global double ; [#uses=1]