[llvm-commits] [llvm] r84065 - /llvm/trunk/test/CodeGen/X86/fastcc.ll

Dan Gohman gohman at apple.com
Tue Oct 13 17:28:48 PDT 2009


Author: djg
Date: Tue Oct 13 19:28:48 2009
New Revision: 84065

URL: http://llvm.org/viewvc/llvm-project?rev=84065&view=rev
Log:
Fix this test to account for a movl $0 being emitted as an xor now,
and convert it to FileCheck.

Modified:
    llvm/trunk/test/CodeGen/X86/fastcc.ll

Modified: llvm/trunk/test/CodeGen/X86/fastcc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/fastcc.ll?rev=84065&r1=84064&r2=84065&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/fastcc.ll (original)
+++ llvm/trunk/test/CodeGen/X86/fastcc.ll Tue Oct 13 19:28:48 2009
@@ -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]





More information about the llvm-commits mailing list