]> granicus.if.org Git - llvm/commit
[APInt] Use getActiveBits() to implement logBase2 and ceilLogBase2. NFC
authorCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 18:49:31 +0000 (18:49 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 18:49:31 +0000 (18:49 +0000)
commit686e2d6ca3c8af84017a74c53b5059504b73feea
tree9271514af9c25642364602f4dce190324b6bb840
parent6bf994d95cc7c7c68c7591768c51cb595e417549
[APInt] Use getActiveBits() to implement logBase2 and ceilLogBase2. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313793 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h