Tidy up this testcase and add test for tailcall optimization
[oota-llvm.git] / test / CodeGen / X86 / byval.ll
index 7c0aeb82327c74d4d90e40fae49be8d113e32364..af36e1bb8cb4c2afcc2e883b93c3f7434dd6fbe3 100644 (file)
@@ -1,4 +1,7 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep movq.*8.*rsp.*rax
+; 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
 
 %struct.s = type { i64, i64, i64 }