mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 09:25:07 +00:00
Switch NodeMap from an std::map to a DenseMap. This speeds up bcwriting
of 447.dealII from 3.3s to 1.8s (80% faster). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
569b935e6b
commit
362df0d4b7
@ -50,7 +50,7 @@ class SlotCalculator {
|
||||
typedef std::vector<const Value*> TypePlane;
|
||||
std::vector<TypePlane> Table;
|
||||
TypeList Types;
|
||||
typedef std::map<const Value*, unsigned> NodeMapType;
|
||||
typedef DenseMap<const Value*, unsigned> NodeMapType;
|
||||
NodeMapType NodeMap;
|
||||
|
||||
typedef std::map<const Type*, unsigned> TypeMapType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user