summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-19 23:55:48 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-19 23:55:48 +0000
commit0e7f6fb6b418952e558b8b56ebd8655b133919ec (patch)
tree1db3b6f2b1747704455364b18d7d403fa2c1c695 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp
parent25e71d87b5d2b72acded047f839fed0a406ed73e (diff)
downloadbcm5719-llvm-0e7f6fb6b418952e558b8b56ebd8655b133919ec.tar.gz
bcm5719-llvm-0e7f6fb6b418952e558b8b56ebd8655b133919ec.zip
[APInt] Don't call getActiveBits() in ult/ugt(uint64_t) if its a single word.
The compiled code already needs to check single/multi word for the countLeadingZeros call inside of getActiveBits, but it isn't able to optimize out the leadingZeros call in the single word case that can't produce a value larger than 64. This shrank the opt binary by about 5-6k on my local x86-64 build. llvm-svn: 300798
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/ns.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud