diff options
author | Craig Topper <craig.topper@intel.com> | 2017-06-23 20:28:49 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-06-23 20:28:49 +0000 |
commit | b73646f8223018a205d9ec8513c2a2b631604015 (patch) | |
tree | 34dc58a859358d802213ca29b4c1fbb27f356eae /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | 405165210b0b2f95e08d84ffcaab534fbd022fde (diff) | |
download | bcm5719-llvm-b73646f8223018a205d9ec8513c2a2b631604015.tar.gz bcm5719-llvm-b73646f8223018a205d9ec8513c2a2b631604015.zip |
[APInt] Use trailing bit counting methods instead of population count method in isAllOnesValue, isMaxSigendValue, and isMinSignedValue. NFCI
The trailing bit methods will early out if they find a bit of the opposite while popcount must always look at all bits. I also assume that more CPUs implement trailing bit counting with native instructions than population count.
llvm-svn: 306154
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions