Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/X86/sse-align-11.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 803732b1fca8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/CodeGen/X86/sse-align-11.ll Thu Dec 12 13:56:28 2013 +0900 @@ -0,0 +1,13 @@ +; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps +; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movaps +; PR8969 - make 32-bit linux have a 16-byte aligned stack + +define <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind { +entry: + %tmp6 = insertelement <4 x float> undef, float %a, i32 0 + %tmp7 = insertelement <4 x float> %tmp6, float %b, i32 1 + %tmp8 = insertelement <4 x float> %tmp7, float %c, i32 2 + %tmp9 = insertelement <4 x float> %tmp8, float %d, i32 3 + ret <4 x float> %tmp9 +} +