Change DenseMap to use a power of 2 growth if one is given instead of the next power...
authorPete Cooper <peter_cooper@apple.com>
Tue, 23 Oct 2012 19:34:36 +0000 (19:34 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 23 Oct 2012 19:34:36 +0000 (19:34 +0000)
commit2430973fb657eb84dfbacb1e8886d3a29190e0b5
treeaca6274e4728043ef1c6ed768a6d7e5a4566982f
parentfbaf206f470b5a6a54811547641ee41368a2cccd
Change DenseMap to use a power of 2 growth if one is given instead of the next power of 2.  This was causing DenseMaps to grow 4x instead of 2x.  I'll keep an eye on the buildbots as this could impact performance

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