Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 -mattr=+sse42 | FileCheck %s
      2 ; widen extract subvector
      3 
      4 define void @convert(<2 x double>* %dst.addr, <3 x double> %src)  {
      5 entry:
      6 ; CHECK: convert:
      7 ; CHECK: unpcklpd {{%xmm[0-7]}}, {{%xmm[0-7]}}
      8 ; CHECK-NEXT: movapd
      9   %val = shufflevector <3 x double> %src, <3 x double> undef, <2 x i32> < i32 0, i32 1>
     10   store <2 x double> %val, <2 x double>* %dst.addr
     11   ret void
     12 }
     13