[llvm-commits] [llvm] r116376 - /llvm/trunk/test/CodeGen/X86/byval.ll
Eric Christopher
echristo at apple.com
Tue Oct 12 16:47:58 PDT 2010
Author: echristo
Date: Tue Oct 12 18:47:58 2010
New Revision: 116376
URL: http://llvm.org/viewvc/llvm-project?rev=116376&view=rev
Log:
FileCheckize this in a hope to quiet a valgrind warning on grep.
Modified:
llvm/trunk/test/CodeGen/X86/byval.ll
Modified: llvm/trunk/test/CodeGen/X86/byval.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/byval.ll?rev=116376&r1=116375&r2=116376&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/byval.ll (original)
+++ llvm/trunk/test/CodeGen/X86/byval.ll Tue Oct 12 18:47:58 2010
@@ -1,7 +1,10 @@
-; RUN: llc < %s -march=x86-64 | grep {movq 8(%rsp), %rax}
-; RUN: llc < %s -march=x86 > %t
-; RUN: grep {movl 8(%esp), %edx} %t
-; RUN: grep {movl 4(%esp), %eax} %t
+; RUN: llc < %s -march=x86-64 | FileCheck -check-prefix=X86-64 %s
+; RUN: llc < %s -march=x86 | FileCheck -check-prefix=X86 %s
+
+; X86: movl 4(%esp), %eax
+; X86: movl 8(%esp), %edx
+
+; X86-64: movq 8(%rsp), %rax
%struct.s = type { i64, i64, i64 }
More information about the llvm-commits
mailing list