summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-02-20 20:52:26 +0000
committerCraig Topper <craig.topper@intel.com>2019-02-20 20:52:26 +0000
commit8d9c224a8c5fc3a5a48e6406ccbfc2c2d68128b2 (patch)
treeb32ad158db8b9af503cf9e8cfdb4da61190b22f7 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
parentc3b496de7abf7d43c870d092a56969a4fee5fa96 (diff)
downloadbcm5719-llvm-8d9c224a8c5fc3a5a48e6406ccbfc2c2d68128b2.tar.gz
bcm5719-llvm-8d9c224a8c5fc3a5a48e6406ccbfc2c2d68128b2.zip
[SelectionDAG] Teach GetDemandedBits to look at the known zeros of the LHS when handling ISD::AND
If the LHS has known zeros, then the RHS immediate mask might have been simplified to remove those bits. This patch adds a call to computeKnownBits to get the known zeroes to handle that possibility. I left an early out to skip the call if all of the demanded bits are set in the mask. Differential Revision: https://reviews.llvm.org/D58464 llvm-svn: 354514
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud