This commit contains a few changes that had to go in together.
[oota-llvm.git] / test / CodeGen / X86 / 2011-10-27-tstore.ll
1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
2
3 target triple = "x86_64-unknown-linux-gnu"
4
5 ;CHECK: ltstore
6 ;CHECK: movq
7 ;CHECK-NEXT: movq
8 ;CHECK-NEXT: ret
9 define void @ltstore(<4 x i32>* %pIn, <2 x i32>* %pOut) {
10 entry:
11   %in = load <4 x i32>* %pIn
12   %j = shufflevector <4 x i32> %in, <4 x i32> undef, <2 x i32> <i32 0, i32 1>
13   store <2 x i32> %j, <2 x i32>* %pOut
14   ret void
15 }
16