[llvm-commits] [llvm] r147975 - /llvm/trunk/lib/CodeGen/RegAllocBase.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Jan 11 14:52:11 PST 2012


Author: stoklund
Date: Wed Jan 11 16:52:11 2012
New Revision: 147975

URL: http://llvm.org/viewvc/llvm-project?rev=147975&view=rev
Log:
Cleanup.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocBase.h

Modified: llvm/trunk/lib/CodeGen/RegAllocBase.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocBase.h?rev=147975&r1=147974&r2=147975&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocBase.h (original)
+++ llvm/trunk/lib/CodeGen/RegAllocBase.h Wed Jan 11 16:52:11 2012
@@ -49,11 +49,6 @@
 class LiveIntervals;
 class Spiller;
 
-// Forward declare a priority queue of live virtual registers. If an
-// implementation needs to prioritize by anything other than spill weight, then
-// this will become an abstract base class with virtual calls to push/get.
-class LiveVirtRegQueue;
-
 /// RegAllocBase provides the register allocation driver and interface that can
 /// be extended to add interesting heuristics.
 ///
@@ -121,10 +116,6 @@
 
   // The top-level driver. The output is a VirtRegMap that us updated with
   // physical register assignments.
-  //
-  // If an implementation wants to override the LiveInterval comparator, we
-  // should modify this interface to allow passing in an instance derived from
-  // LiveVirtRegQueue.
   void allocatePhysRegs();
 
   // Get a temporary reference to a Spiller instance.





More information about the llvm-commits mailing list