Add a NextPowerOf2 function to calculate the next power of two greater than a given...
authorOwen Anderson <resistor@mac.com>
Fri, 27 Jun 2008 21:48:21 +0000 (21:48 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 27 Jun 2008 21:48:21 +0000 (21:48 +0000)
commitd98a45d29a6047bd47d3a3cd83c13ac0dac851fb
tree16deb5d4118fb620a406e0c75cf1952f1de9437b
parent97388469b15fcb8c027377ae0d4a59ba9646f2a7
Add a NextPowerOf2 function to calculate the next power of two greater than a given integer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52839 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MathExtras.h