~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/2011-10-27-tstore.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
 
2
 
 
3
target triple = "x86_64-unknown-linux-gnu"
 
4
 
 
5
;CHECK-LABEL: ltstore:
 
6
;CHECK: movq
 
7
;CHECK: movq
 
8
;CHECK: ret
 
9
define void @ltstore(<4 x i32>* %pA, <2 x i32>* %pB) {
 
10
entry:
 
11
  %in = load <4 x i32>, <4 x i32>* %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, <2 x i32>* %pB
 
14
  ret void
 
15
}
 
16