brintos

brintos / llvm-project-archived public Read only

0
0
Text · 884 B · 5fe5a34 Raw
18 lines · plain
1; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 -mattr=+avx | FileCheck %s2 3; CHECK: ocl4define 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 29  %vecinit3 = insertelement <8 x double> %vecinit1, double undef, i32 310  %vecinit5 = insertelement <8 x double> %vecinit3, double 0.000000e+00, i32 411  %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, ptr undef13  ret void14; CHECK: vxorps15; CHECK: ret16}17 18