summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-02-25 19:42:47 +0000
committerCraig Topper <craig.topper@intel.com>2019-02-25 19:42:47 +0000
commit316c58e8f1771a145f797c0bd266565cbb541f96 (patch)
tree8c93527c35b39d6e60a421677242671fb3b5a2cd /clang/lib/Sema/SemaDeclCXX.cpp
parent4a1e59a6e0835ab4d03ab7ce317a08df7ec6cb22 (diff)
downloadbcm5719-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/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud