; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc < %s -mcpu=corei7 | FileCheck %s

target triple = "x86_64-unknown-linux-gnu"

define void @ltstore(ptr %pA, ptr %pB) {
; CHECK-LABEL: ltstore:
; CHECK:       # %bb.0: # %entry
; CHECK-NEXT:    movq (%rdi), %rax
; CHECK-NEXT:    movq %rax, (%rsi)
; CHECK-NEXT:    retq
entry:
  %in = load <4 x i32>, ptr %pA
  %j = shufflevector <4 x i32> %in, <4 x i32> undef, <2 x i32> <i32 0, i32 1>
  store <2 x i32> %j, ptr %pB
  ret void
}

