diff options
author | Craig Topper <craig.topper@intel.com> | 2019-02-25 19:42:47 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-02-25 19:42:47 +0000 |
commit | 316c58e8f1771a145f797c0bd266565cbb541f96 (patch) | |
tree | 8c93527c35b39d6e60a421677242671fb3b5a2cd /clang | |
parent | 4a1e59a6e0835ab4d03ab7ce317a08df7ec6cb22 (diff) | |
download | bcm5719-llvm-316c58e8f1771a145f797c0bd266565cbb541f96.tar.gz bcm5719-llvm-316c58e8f1771a145f797c0bd266565cbb541f96.zip |
[X86] Improve detection of unneeded shift amount masking to also handle the case that the LHS has known zeroes in it
If the LHS has known zeros, the RHS immediate will have had bits removed. So call computeKnownBits to get the known zeroes so we can handle this case.
Differential Revision: https://reviews.llvm.org/D58475
llvm-svn: 354811
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions