[block-freq] Add the method APInt::nearestLogBase2().
authorMichael Gottesman <mgottesman@apple.com>
Fri, 13 Dec 2013 20:47:37 +0000 (20:47 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Fri, 13 Dec 2013 20:47:37 +0000 (20:47 +0000)
commit46f829ee25ed0cba401cd759da684d3c4aa1478a
tree9cb2d97f93449cf65dec13e40b8ea6ae23fa278c
parent5bb504f4ea73fc46b4fb64d4ba970aafde1381b7
[block-freq] Add the method APInt::nearestLogBase2().

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