1 ; RUN: llc < %s -march=x86 -mcpu=yonah | grep {(%esp,%eax,4)} | count 4
3 ; Inserts and extracts with variable indices must be lowered
6 define i32 @t0(i32 inreg %t7, <4 x i32> inreg %t8) nounwind {
7 %t13 = insertelement <4 x i32> %t8, i32 76, i32 %t7
8 %t9 = extractelement <4 x i32> %t13, i32 0
11 define i32 @t1(i32 inreg %t7, <4 x i32> inreg %t8) nounwind {
12 %t13 = insertelement <4 x i32> %t8, i32 76, i32 0
13 %t9 = extractelement <4 x i32> %t13, i32 %t7
16 define <4 x i32> @t2(i32 inreg %t7, <4 x i32> inreg %t8) nounwind {
17 %t9 = extractelement <4 x i32> %t8, i32 %t7
18 %t13 = insertelement <4 x i32> %t8, i32 %t9, i32 0
21 define <4 x i32> @t3(i32 inreg %t7, <4 x i32> inreg %t8) nounwind {
22 %t9 = extractelement <4 x i32> %t8, i32 0
23 %t13 = insertelement <4 x i32> %t8, i32 %t9, i32 %t7