llvm.org GIT mirror llvm / 70bf40d
Add test case for r84279 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84280 91177308-0d34-0410-b5e6-96231b3b80d8 Mon P Wang 10 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llc < %s -march=x86-64 -mattr=+sse42 -disable-mmx | FileCheck %s
1 ; widen extract subvector
2
3 define void @convert(<2 x double>* %dst.addr, <3 x double> %src) {
4 entry:
5 ; CHECK: convert:
6 ; CHECK: unpcklpd {{%xmm[0-7]}}, {{%xmm[0-7]}}
7 ; CHECK-NEXT: movapd
8 %val = shufflevector <3 x double> %src, <3 x double> undef, <2 x i32> < i32 0, i32 1>
9 store <2 x double> %val, <2 x double>* %dst.addr
10 ret void
11 }