1; RUN: llc < %s -march=x86 -mcpu=corei7 -mattr=+avx | FileCheck %s
2
3; CHECK: ocl
4define void @ocl() {
5entry:
6  %vext = shufflevector <2 x double> zeroinitializer, <2 x double> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
7  %vecinit = shufflevector <8 x double> %vext, <8 x double> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
8  %vecinit1 = insertelement <8 x double> %vecinit, double undef, i32 2
9  %vecinit3 = insertelement <8 x double> %vecinit1, double undef, i32 3
10  %vecinit5 = insertelement <8 x double> %vecinit3, double 0.000000e+00, i32 4
11  %vecinit9 = shufflevector <8 x double> %vecinit5, <8 x double> undef, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 8, i32 9, i32 10>
12  store <8 x double> %vecinit9, <8 x double>* undef
13  ret void
14; CHECK: vxorps
15; CHECK: ret
16}
17
18