From 03cbeb74a306d0da9a2701ce9a3be904f91cb62d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 14 Sep 2007 15:48:13 +0000 Subject: Add support for functions with byval arguments on x86 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41953 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/byval.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/CodeGen/X86/byval.ll b/test/CodeGen/X86/byval.ll index 7c0aeb8..a75214a 100644 --- a/test/CodeGen/X86/byval.ll +++ b/test/CodeGen/X86/byval.ll @@ -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 } -- cgit v1.1