OSDN Git Service

Don't combine splats with other shuffles.
authorEli Friedman <efriedma@codeaurora.org>
Thu, 15 Dec 2016 22:41:40 +0000 (22:41 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 15 Dec 2016 22:41:40 +0000 (22:41 +0000)
commit986e6724baaec05a05098f29c5cf2a16de082633
tree661346eaf95e0f77cb6a171c9fc3fd56561e6cca
parente012a3d74787be265f0ccd4b6df76b85a8d05957
Don't combine splats with other shuffles.

We sometimes end up creating shuffles which are worse than the obvious
translation of the IR.

Fixes https://llvm.org/bugs/show_bug.cgi?id=31301 .

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/vzip.ll
test/CodeGen/X86/vector-shuffle-128-v16.ll