Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86-64 | grep movss | count 2 |
Dan Gohman | 101124c | 2008-08-13 21:51:37 +0000 | [diff] [blame] | 2 | ; PR2676 |
3 | |||||
4 | define float @foo(<4 x float> %p, i32 %t) { | ||||
5 | %z = extractelement <4 x float> %p, i32 %t | ||||
6 | ret float %z | ||||
7 | } | ||||
8 | define <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 | } |