diff options
author | Craig Topper <craig.topper@intel.com> | 2019-07-23 18:46:15 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-07-23 18:46:15 +0000 |
commit | 76bc3d6e074d6e71cf13b82fa4a76678e67efae9 (patch) | |
tree | ff2606b82ebcbf1357a6c53ef9838fe8f872dcb5 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | 374398afb784e2e0f027f9a408eb7640198d8558 (diff) | |
download | bcm5719-llvm-76bc3d6e074d6e71cf13b82fa4a76678e67efae9.tar.gz bcm5719-llvm-76bc3d6e074d6e71cf13b82fa4a76678e67efae9.zip |
[X86] In lowerVectorShuffle, instead of creating a new node to canonicalize the shuffle mask by commuting, just commute the mask and swap V1/V2.
LegalizeDAG tries to legal the DAG by legalizing nodes before
their operands.
If we create a new node, we end up legalizing it after its operands.
This prevents some of the optimizations that can be done when the
operand is a build_vector since the build_vector will have been
legalized to something else.
Differential Revision: https://reviews.llvm.org/D65132
llvm-svn: 366835
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions