Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[X86][SSE] Move VZEXT_MOVL removal into SimplifyDemandedVectorEltsFor…
…TargetNode 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
- Loading branch information
Showing
1 changed file
with
52 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters