Switched to DenseMap for allowed sets in PBQP. Reduces total LLC time by 15% on CINT2...
authorLang Hames <lhames@gmail.com>
Tue, 7 Jun 2011 06:05:58 +0000 (06:05 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 7 Jun 2011 06:05:58 +0000 (06:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132707 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/RegAllocPBQP.h

index 7e8745eddef8269f299cd0f99c43831d21265a1c..8139c65c4b75c3bd035fe4270dc71e078fd123bf 100644 (file)
@@ -94,7 +94,7 @@ namespace llvm {
     typedef std::map<PBQP::Graph::ConstNodeItr, unsigned,
                      PBQP::NodeItrComparator>  Node2VReg;
     typedef DenseMap<unsigned, PBQP::Graph::NodeItr> VReg2Node;
-    typedef std::map<unsigned, AllowedSet> AllowedSetMap;
+    typedef DenseMap<unsigned, AllowedSet> AllowedSetMap;
 
     PBQP::Graph graph;
     Node2VReg node2VReg;