xref: /llvm-project/llvm/test/CodeGen/X86/2011-10-27-tstore.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mcpu=corei7 | FileCheck %s
2
3target triple = "x86_64-unknown-linux-gnu"
4
5;CHECK-LABEL: ltstore:
6;CHECK: movq
7;CHECK: movq
8;CHECK: ret
9define void @ltstore(ptr %pA, ptr %pB) {
10entry:
11  %in = load <4 x i32>, ptr %pA
12  %j = shufflevector <4 x i32> %in, <4 x i32> undef, <2 x i32> <i32 0, i32 1>
13  store <2 x i32> %j, ptr %pB
14  ret void
15}
16
17