PR1210: make uniquing of struct and function types more efficient by
authorJay Foad <jay.foad@gmail.com>
Tue, 21 Feb 2012 09:25:52 +0000 (09:25 +0000)
committerJay Foad <jay.foad@gmail.com>
Tue, 21 Feb 2012 09:25:52 +0000 (09:25 +0000)
commit6b842e35dcd7faf2b05b2ef9b1892c29050f3607
tree7d8ba2732297420de7b37a26b0725d6034607d5a
parentdac3d36584766a7c00972603598dcdff2f5314d5
PR1210: make uniquing of struct and function types more efficient by
using a DenseMap and Talin's new GeneralHash, avoiding the need for a
temporary std::vector on every lookup.

Patch by Meador Inge!

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