diff options
| author | Duncan Sands <baldrick@free.fr> | 2011-01-26 08:44:16 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2011-01-26 08:44:16 +0000 |
| commit | 464a4f349c95a25d06d709e79d7df21fbbb155e2 (patch) | |
| tree | 64138b42f42f19719c229bd1237a006084fbfe6e /lib/Support/Threading.cpp | |
| parent | e19b7b80bd1bf48f9a6f036cf1cbc5f65445090a (diff) | |
APInt has a method for determining whether a number is a power of 2
which is more efficient than countPopulation - use it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions
