blob: 9f5d4b40d61a0f48e867f4246f420483eea58417 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
Eric Christopher04f50792011-01-13 06:47:10 +00002; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movaps
3; PR8969 - make 32-bit linux have a 16-byte aligned stack
Chris Lattnerb59e9852007-08-01 17:10:30 +00004
Evan Cheng687bcb22008-05-07 22:59:08 +00005define <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind {
Chris Lattnerb59e9852007-08-01 17:10:30 +00006entry:
7 %tmp6 = insertelement <4 x float> undef, float %a, i32 0
8 %tmp7 = insertelement <4 x float> %tmp6, float %b, i32 1
9 %tmp8 = insertelement <4 x float> %tmp7, float %c, i32 2
10 %tmp9 = insertelement <4 x float> %tmp8, float %d, i32 3
11 ret <4 x float> %tmp9
12}
13