OSDN Git Service

cleanup ConstantInt to use a single DenseMap for uniquing instead of the
authorChris Lattner <sabre@nondot.org>
Tue, 20 Feb 2007 06:39:57 +0000 (06:39 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Feb 2007 06:39:57 +0000 (06:39 +0000)
commit6b6f6ba66c656b205a6db0751685911032fe710e
tree0fa0a49755a74dc84b56e681e7f9e8f811360cf0
parentd283566319a5bec8bfa2223580d92c86e01af13b
cleanup ConstantInt to use a single DenseMap for uniquing instead of the
heavy-weight ValueMap class.  This reduces mem usage bc reading kc++ by 29K,
even though it only creates 2955 constant ints!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34445 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constants.h
lib/VMCore/Constants.cpp