Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s  -mtriple=x86_64-linux -mcpu=corei7 | FileCheck %s
      2 ; PR2562
      3 
      4 ; CHECK: pinsr
      5 
      6 external global i16		; <i16*>:0 [#uses=1]
      7 external global <4 x i16>		; <<4 x i16>*>:1 [#uses=2]
      8 
      9 declare void @abort()
     10 
     11 define void @""() {
     12 	load i16* @0		; <i16>:1 [#uses=1]
     13 	load <4 x i16>* @1		; <<4 x i16>>:2 [#uses=1]
     14 	insertelement <4 x i16> %2, i16 %1, i32 0		; <<4 x i16>>:3 [#uses=1]
     15 	store <4 x i16> %3, <4 x i16>* @1
     16 	ret void
     17 }
     18