summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_compare-2.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/vec_compare-2.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/vec_compare-2.ll')
-rw-r--r--test/CodeGen/X86/vec_compare-2.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/X86/vec_compare-2.ll b/test/CodeGen/X86/vec_compare-2.ll
index 946b126fd0..91777f7aa6 100644
--- a/test/CodeGen/X86/vec_compare-2.ll
+++ b/test/CodeGen/X86/vec_compare-2.ll
@@ -10,8 +10,10 @@ define void @blackDespeckle_wrapper(i8** %args_list, i64* %gtid, i64 %xend) {
entry:
; CHECK: cfi_def_cfa_offset
; CHECK-NOT: set
-; CHECK: pcmpgt
-; CHECK: blendvps
+; CHECK: movzwl
+; CHECK: movzwl
+; CHECK: pshufd
+; CHECK: pshufb
%shr.i = ashr <4 x i32> zeroinitializer, <i32 3, i32 3, i32 3, i32 3> ; <<4 x i32>> [#uses=1]
%cmp318.i = sext <4 x i1> zeroinitializer to <4 x i32> ; <<4 x i32>> [#uses=1]
%sub322.i = sub <4 x i32> %shr.i, zeroinitializer ; <<4 x i32>> [#uses=1]