summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/byval.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-10-12 23:47:58 +0000
committerEric Christopher <echristo@apple.com>2010-10-12 23:47:58 +0000
commit8f9145b0eb54f9b054733cfb88c2439893e404ae (patch)
treedf5cfb0059df46946a1895e87aaf2bc48806d5d1 /test/CodeGen/X86/byval.ll
parent5a1fd8cf68a120e0f4a1e71773422a7d5a284a50 (diff)
downloadllvm-8f9145b0eb54f9b054733cfb88c2439893e404ae.tar.gz
llvm-8f9145b0eb54f9b054733cfb88c2439893e404ae.tar.bz2
llvm-8f9145b0eb54f9b054733cfb88c2439893e404ae.tar.xz
FileCheckize this in a hope to quiet a valgrind warning on grep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/byval.ll')
-rw-r--r--test/CodeGen/X86/byval.ll11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/CodeGen/X86/byval.ll b/test/CodeGen/X86/byval.ll
index af36e1bb8c..ac0bc094e5 100644
--- a/test/CodeGen/X86/byval.ll
+++ b/test/CodeGen/X86/byval.ll
@@ -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 }