• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=x86-64 -mcpu=nehalem -mattr=+sse4.2 | FileCheck %s
2; widen extract subvector
3
4define void @convert(<2 x double>* %dst.addr, <3 x double> %src)  {
5entry:
6; CHECK-LABEL: 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