blob: 67122763ec9b9ba4fecb5281f7948c1804a1e227 [file] [log] [blame]
Eli Friedmane6bb1e52009-06-07 06:52:44 +00001; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movq
2
3define <4 x float> @a(<4 x float> %a, float* nocapture %p) nounwind readonly {
4entry:
5 %tmp1 = load float* %p
6 %vecins = insertelement <4 x float> undef, float %tmp1, i32 0
7 %add.ptr = getelementptr float* %p, i32 1
8 %tmp5 = load float* %add.ptr
9 %vecins7 = insertelement <4 x float> %vecins, float %tmp5, i32 1
10 ret <4 x float> %vecins7
11}
12