1; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
2; <rdar://problem/10463281>
3; Check that the <8 x float> is passed on the stack.
4
5@x = common global <8 x float> zeroinitializer, align 32
6declare i32 @f(i32, ...)
7
8; CHECK-LABEL: test1:
9; CHECK: vmovaps	%ymm0, (%rsp)
10define void @test1() nounwind uwtable ssp {
11entry:
12  %0 = load <8 x float>, <8 x float>* @x, align 32
13  %call = call i32 (i32, ...) @f(i32 1, <8 x float> %0)
14  ret void
15}
16