2008-05-09 06:35:02 +08:00
|
|
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movq
|
|
|
|
|
2008-05-10 03:56:32 +08:00
|
|
|
define <4 x float> @t(float %X) nounwind {
|
2008-05-09 06:35:02 +08:00
|
|
|
%tmp11 = insertelement <4 x float> undef, float %X, i32 0
|
|
|
|
%tmp12 = insertelement <4 x float> %tmp11, float %X, i32 1
|
|
|
|
%tmp27 = insertelement <4 x float> %tmp12, float 0.000000e+00, i32 2
|
|
|
|
%tmp28 = insertelement <4 x float> %tmp27, float 0.000000e+00, i32 3
|
2008-05-10 03:56:32 +08:00
|
|
|
ret <4 x float> %tmp28
|
2008-05-09 06:35:02 +08:00
|
|
|
}
|