diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-10-23 15:48:08 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-10-23 15:48:08 +0000 |
commit | 32da2f9245f259fc437129ec9894e664b64ad0d4 (patch) | |
tree | 6c5c61a606556bf63be0159baeb91962eb79688c /lldb/packages/Python/lldbsuite/test/python_api | |
parent | f9cb007355de70b6e8204156fdcfaf886dbed316 (diff) | |
download | bcm5719-llvm-32da2f9245f259fc437129ec9894e664b64ad0d4.tar.gz bcm5719-llvm-32da2f9245f259fc437129ec9894e664b64ad0d4.zip |
[DAGCombine] Permit combining of shuffles of equivalent splat BUILD_VECTORs
combineShuffleOfScalars is very conservative about shuffled BUILD_VECTORs that can be combined together.
This patch adds one additional case - if both BUILD_VECTORs represent splats of the same scalar value but with different UNDEF elements, then we should create a single splat BUILD_VECTOR, sharing only the UNDEF elements defined by the shuffle mask.
Differential Revision: https://reviews.llvm.org/D38696
llvm-svn: 316331
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions