Add a ceilLogBase2 function to APInt.
authorDan Gohman <gohman@apple.com>
Tue, 13 Oct 2009 01:49:02 +0000 (01:49 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 13 Oct 2009 01:49:02 +0000 (01:49 +0000)
commitcbc7cc63b6c7ee1008f92064388c37327c183328
tree7658fbbdc579a3674ef2261cc546986c5f3dcff4
parent5c78736f85579aa6de38cba2742ea13ff9f79e70
Add a ceilLogBase2 function to APInt.

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