summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2011-10-27-tstore.ll
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2012-04-07 21:19:08 +0000
committerNadav Rotem <nadav.rotem@intel.com>2012-04-07 21:19:08 +0000
commitd16c8d0d336638225378466bc17c9db156401817 (patch)
treea9afe1da5eb726f19fb7b331444edfdceffd9482 /test/CodeGen/X86/2011-10-27-tstore.ll
parent961d666be4f3714452ff9f15470f9255d85f0506 (diff)
downloadllvm-d16c8d0d336638225378466bc17c9db156401817.tar.gz
llvm-d16c8d0d336638225378466bc17c9db156401817.tar.bz2
llvm-d16c8d0d336638225378466bc17c9db156401817.tar.xz
1. Remove the part of r153848 which optimizes shuffle-of-shuffle into a new
shuffle node because it could introduce new shuffle nodes that were not supported efficiently by the target. 2. Add a more restrictive shuffle-of-shuffle optimization for cases where the second shuffle reverses the transformation of the first shuffle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2011-10-27-tstore.ll')
-rw-r--r--test/CodeGen/X86/2011-10-27-tstore.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/2011-10-27-tstore.ll b/test/CodeGen/X86/2011-10-27-tstore.ll
index 1712f34565..6e83f6713a 100644
--- a/test/CodeGen/X86/2011-10-27-tstore.ll
+++ b/test/CodeGen/X86/2011-10-27-tstore.ll
@@ -4,13 +4,13 @@ target triple = "x86_64-unknown-linux-gnu"
;CHECK: ltstore
;CHECK: movq
-;CHECK-NEXT: movq
-;CHECK-NEXT: ret
-define void @ltstore(<4 x i32>* %pIn, <2 x i32>* %pOut) {
+;CHECK: movq
+;CHECK: ret
+define void @ltstore(<4 x i32>* %pA, <2 x i32>* %pB) {
entry:
- %in = load <4 x i32>* %pIn
+ %in = load <4 x i32>* %pA
%j = shufflevector <4 x i32> %in, <4 x i32> undef, <2 x i32> <i32 0, i32 1>
- store <2 x i32> %j, <2 x i32>* %pOut
+ store <2 x i32> %j, <2 x i32>* %pB
ret void
}