]> granicus.if.org Git - llvm/commit
DAGCombine: Combine shuffles of splat-shuffles
authorZvi Rackover <zvi.rackover@intel.com>
Tue, 9 May 2017 20:25:38 +0000 (20:25 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Tue, 9 May 2017 20:25:38 +0000 (20:25 +0000)
commit14cb3039db02b8d50aaa8712b42efa44e6032e7b
tree5d7a296864979f7b391accb88167401d967d6ac0
parenta4fa9d3a636fa01a43eb79de8e24830d099e9556
DAGCombine: Combine shuffles of splat-shuffles

Summary: Reapply r299047, but this time handle correctly splat-masks with undef elements.

Reviewers: spatel, RKSimon, eli.friedman, andreadb

Reviewed By: spatel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/shuffle-of-splat-multiuses.ll