brintos

brintos / llvm-project-archived public Read only

0
0
Text · 469 B · 90bb187 Raw
16 lines · plain
1; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s2; <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 326declare 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>, ptr @x, align 3213  %call = call i32 (i32, ...) @f(i32 1, <8 x float> %0)14  ret void15}16