blob: 82927e96983d9f836cb16b5becd573bb3fab3ef5 [file] [log] [blame]
Dan Gohman101124c2008-08-13 21:51:37 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep movss | count 2
2; PR2676
3
4define float @foo(<4 x float> %p, i32 %t) {
5 %z = extractelement <4 x float> %p, i32 %t
6 ret float %z
7}
8define <4 x float> @bar(<4 x float> %p, float %f, i32 %t) {
9 %z = insertelement <4 x float> %p, float %f, i32 %t
10 ret <4 x float> %z
11}