aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/sse-varargs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/sse-varargs.ll')
-rw-r--r--test/CodeGen/X86/sse-varargs.ll9
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 0000000..da38f0e
--- /dev/null
+++ b/test/CodeGen/X86/sse-varargs.ll
@@ -0,0 +1,9 @@
+; RUN: llc < %s -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, ...)