aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2007-09-14 15:48:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2007-09-14 15:48:13 +0000
commit03cbeb74a306d0da9a2701ce9a3be904f91cb62d (patch)
treec2518b2e186cd893b743ab5de1fb90f93c49bfc3 /test/CodeGen/X86
parent4bde3c4cefa21d1d333b4eb693a301659f577bf5 (diff)
downloadexternal_llvm-03cbeb74a306d0da9a2701ce9a3be904f91cb62d.zip
external_llvm-03cbeb74a306d0da9a2701ce9a3be904f91cb62d.tar.gz
external_llvm-03cbeb74a306d0da9a2701ce9a3be904f91cb62d.tar.bz2
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
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/byval.ll5
1 files changed, 4 insertions, 1 deletions
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 }