[llvm-commits] [llvm] r132707 - /llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h

Lang Hames lhames at gmail.com
Mon Jun 6 23:05:58 PDT 2011


Author: lhames
Date: Tue Jun  7 01:05:58 2011
New Revision: 132707

URL: http://llvm.org/viewvc/llvm-project?rev=132707&view=rev
Log:
Switched to DenseMap for allowed sets in PBQP. Reduces total LLC time by 15% on CINT2006 for x86-32.

Modified:
    llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h

Modified: llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h?rev=132707&r1=132706&r2=132707&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h (original)
+++ llvm/trunk/include/llvm/CodeGen/RegAllocPBQP.h Tue Jun  7 01:05:58 2011
@@ -94,7 +94,7 @@
     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;





More information about the llvm-commits mailing list