OSDN Git Service

[DAGCombiner] Add another combine from build vector to shuffle
authorGuy Blank <guy.blank@intel.com>
Wed, 21 Jun 2017 07:38:41 +0000 (07:38 +0000)
committerGuy Blank <guy.blank@intel.com>
Wed, 21 Jun 2017 07:38:41 +0000 (07:38 +0000)
commit415c6676800a19b6615ab378ac64609c30f31b44
tree53537f559aa4bcda6752b3e035354b0085710484
parenta0c83f81b9bc37ad65175c655fd15f4e35f3c0d6
[DAGCombiner] Add another combine from build vector to shuffle

Add support for combining a build vector to a shuffle.
When the build vector is of extracted elements from 2 vectors (vec1, vec2) where vec2 is 2 times smaller than vec1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305883 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/arm64-neon-copy.ll
test/CodeGen/X86/vector-shuffle-v48.ll