FileCheckize this in a hope to quiet a valgrind warning on grep.
authorEric Christopher <echristo@apple.com>
Tue, 12 Oct 2010 23:47:58 +0000 (23:47 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 12 Oct 2010 23:47:58 +0000 (23:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116376 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/byval.ll

index af36e1bb8cb4c2afcc2e883b93c3f7434dd6fbe3..ac0bc094e56eed7204c3f8e136e14fb1b354f722 100644 (file)
@@ -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 }