1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/CodeGen/X86/sse-align-11.ll

13 lines
585 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=linux | grep movups
2008-05-08 00:59:08 +02:00
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
}