Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 | FileCheck %s
      2 
      3 ; Make sure that the conversion between v4i8 to v2i16 is not a simple bitcast.
      4 ; CHECK: prom_bug
      5 ; CHECK: shufb
      6 ; CHECK: movd
      7 ; CHECK: movw
      8 ; CHECK: ret
      9 define void @prom_bug(<4 x i8> %t, i16* %p) {
     10   %r = bitcast <4 x i8> %t to <2 x i16>
     11   %o = extractelement <2 x i16> %r, i32 0
     12   store i16 %o, i16* %p
     13   ret void
     14 }
     15 
     16