e3b115f6ba56ee230068a206e76ce12d6819c2a9
[oota-llvm.git] / test / CodeGen / X86 / SIMD / notvunpcklps.ll
1 ; RUN: llc < %s -mattr=+avx | FileCheck %s
2
3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
4 target triple = "x86_64-unknown-linux-gnu"
5
6 define void @try_([2 x <8 x float>]* noalias %incarray, [2 x <8 x float>]* noalias %incarrayb ) {
7 enmtry:
8         %incarray1 = alloca [2 x <8 x float>]*, align 8
9         %incarrayb1 = alloca [2 x <8 x float>]*, align 8
10         %carray = alloca [2 x <8 x float>], align 16
11         %r = getelementptr [2 x <8 x float>]* %incarray, i32 0, i32 0
12         %rb = getelementptr [2 x <8 x float>]* %incarrayb, i32 0, i32 0
13         %r3 = load <8 x float>* %r, align 8
14         %r4 = load <8 x float>* %rb, align 8
15         %r8 = shufflevector <8 x float> %r3, <8 x float> %r4, <8 x i32> < i32 0, i32 8, i32 1, i32 9, i32 2, i32 10, i32 3, i32 11 >            ; <<8 x float>> [#uses=1]
16 ; CHECK-NOT: vunpcklps %ymm
17         %r9 = getelementptr [2 x <8 x float>]* %carray, i32 0, i32 0
18         store <8 x float> %r8, <8 x float>* %r9, align 4
19         ret void
20 }