diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-01-22 23:26:53 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-22 23:26:53 +0000 |
| commit | 2cbdd27305ef23a8e3b5aa320c2a7c67993d3b60 (patch) | |
| tree | b36c9c91d10641c6d6a6fc903dbe288983aa925a /test/CodeGen | |
| parent | 8e1f7ac87d75ffc02d2fd363a5a9c6d4c7089daf (diff) | |
SSE varargs arguments are passed in memory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
| -rw-r--r-- | test/CodeGen/X86/sse-varargs.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/sse-varargs.ll b/test/CodeGen/X86/sse-varargs.ll new file mode 100644 index 0000000000..806126da2f --- /dev/null +++ b/test/CodeGen/X86/sse-varargs.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep xmm | grep esp + +define i32 @t() nounwind { +entry: + tail call void (i32, ...)* @foo( i32 1, <4 x i32> < i32 10, i32 11, i32 12, i32 13 > ) nounwind + ret i32 0 +} + +declare void @foo(i32, ...) |
