diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-06 13:58:46 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-06 14:05:07 +0100 |
commit | 8650b36935ae8e9d584550539161e5851a17a912 (patch) | |
tree | c98547f8e8e2df1e26e8fe4ccde9f6c5cc39fe8c /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 1c4f118d893fd8042b0ce781d68242e88337be62 (diff) | |
download | llvm-8650b36935ae8e9d584550539161e5851a17a912.zip llvm-8650b36935ae8e9d584550539161e5851a17a912.tar.gz llvm-8650b36935ae8e9d584550539161e5851a17a912.tar.bz2 |
[X86][SSE] Move VZEXT_MOVL removal into SimplifyDemandedVectorEltsForTargetNode
This patch replaces the VZEXT_MOVL removal from combineShuffle with a more general version based in SimplifyDemandedVectorEltsForTargetNode.
By using computeKnownBits we can always remove the VZEXT_MOVL if the upper elements of the source operand are known to be zero.
This requires us to add the conversion ops to computeKnownBitsForTargetNode as well.
Reviewed By: @craig.topper
Differential Revision: https://reviews.llvm.org/D79335
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions