Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pinsrw | count 1
      2 ; PR2562
      3 
      4 external global i16		; <i16*>:0 [#uses=1]
      5 external global <4 x i16>		; <<4 x i16>*>:1 [#uses=2]
      6 
      7 declare void @abort()
      8 
      9 define void @""() {
     10 	load i16* @0		; <i16>:1 [#uses=1]
     11 	load <4 x i16>* @1		; <<4 x i16>>:2 [#uses=1]
     12 	insertelement <4 x i16> %2, i16 %1, i32 0		; <<4 x i16>>:3 [#uses=1]
     13 	store <4 x i16> %3, <4 x i16>* @1
     14 	ret void
     15 }
     16