aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit7effac5475c9057dd1c384d33f41d518ff387207 (patch)
treec2518b2e186cd893b743ab5de1fb90f93c49bfc3 /test
parent5e6e494a977614568ed5582dacb548f8d466d398 (diff)
downloadexternal_llvm-7effac5475c9057dd1c384d33f41d518ff387207.zip
external_llvm-7effac5475c9057dd1c384d33f41d518ff387207.tar.gz
external_llvm-7effac5475c9057dd1c384d33f41d518ff387207.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')
-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 }