1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

we're now handling this right :)

llvm-svn: 40675
This commit is contained in:
Chris Lattner 2007-08-01 17:10:30 +00:00
parent 86544141cf
commit 5d3a429915

View File

@ -0,0 +1,12 @@
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=darwin | grep movaps
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=linux | grep movups
define <4 x float> @foo(float %a, float %b, float %c, float %d) {
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
}