[llvm-commits] [llvm] r133900 - /llvm/trunk/lib/CodeGen/RegisterCoalescer.h

Rafael Espindola rafael.espindola at gmail.com
Sun Jun 26 15:44:34 PDT 2011


Author: rafael
Date: Sun Jun 26 17:44:34 2011
New Revision: 133900

URL: http://llvm.org/viewvc/llvm-project?rev=133900&view=rev
Log:
Remove unused methods.

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

Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.h?rev=133900&r1=133899&r2=133900&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.h (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.h Sun Jun 26 17:44:34 2011
@@ -142,18 +142,6 @@
       initializeRegisterCoalescerPass(*PassRegistry::getPassRegistry());
     }
 
-    /// Run the coalescer on this function, providing interference
-    /// data to query.  Return whether we removed any copies.
-    virtual bool coalesceFunction(MachineFunction &mf,
-                                  RegallocQuery &ifd) {
-      // This runs as an independent pass, so don't do anything.
-      return false;
-    }
-
-    /// Reset state.  Can be used to allow a coalescer run by
-    /// PassManager to be run again by the register allocator.
-    virtual void reset(MachineFunction &mf) {}
-
     /// Register allocators must call this from their own
     /// getAnalysisUsage to cover the case where the coalescer is not
     /// a Pass in the proper sense and isn't managed by PassManager.
@@ -220,7 +208,6 @@
   ///   // We don't reset the coalescer so if it's already been run this
   ///   // takes almost no time.
   ///   LinearScanRegallocQuery ifd(*li_);
-  ///   coalescer.coalesceFunction(fn, ifd);
   ///
   class RegallocQuery {
   public:





More information about the llvm-commits mailing list