Move & restructure test per review.
[oota-llvm.git] / test / CodeGen / X86 / byval.ll
index 7c0aeb82327c74d4d90e40fae49be8d113e32364..a75214a6b084b9b85ef28634c1defc65c807d377 100644 (file)
@@ -1,4 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movq.*8.*rsp.*rax
+; RUN: llvm-as < %s | llc -march=x86-64 | grep {movq   8(%rsp), %rax}
+; RUN: llvm-as < %s | llc -march=x86 > %t
+; RUN: grep {movl      8(%esp), %edx} %t
+; RUN: grep {movl      4(%esp), %eax} %t
 
 %struct.s = type { i64, i64, i64 }