[llvm] 68e7df3 - [CodeGen][MachineScheduler] Remove the unimplemented print method. (#125702)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 22:40:15 PST 2025


Author: Christudasan Devadasan
Date: 2025-02-05T12:10:12+05:30
New Revision: 68e7df395ee076f0c56c27aaf67152361dc00c75

URL: https://github.com/llvm/llvm-project/commit/68e7df395ee076f0c56c27aaf67152361dc00c75
DIFF: https://github.com/llvm/llvm-project/commit/68e7df395ee076f0c56c27aaf67152361dc00c75.diff

LOG: [CodeGen][MachineScheduler] Remove the unimplemented print method. (#125702)

Added: 
    

Modified: 
    llvm/lib/CodeGen/MachineScheduler.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index da46129ebaa048..df568711583186 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -222,8 +222,6 @@ class MachineSchedulerBase : public MachineSchedContext,
 public:
   MachineSchedulerBase(char &ID): MachineFunctionPass(ID) {}
 
-  void print(raw_ostream &O, const Module* = nullptr) const override;
-
 protected:
   void scheduleRegions(ScheduleDAGInstrs &Scheduler, bool FixKillFlags);
 };
@@ -666,10 +664,6 @@ void MachineSchedulerBase::scheduleRegions(ScheduleDAGInstrs &Scheduler,
   Scheduler.finalizeSchedule();
 }
 
-void MachineSchedulerBase::print(raw_ostream &O, const Module* m) const {
-  // unimplemented
-}
-
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
 LLVM_DUMP_METHOD void ReadyQueue::dump() const {
   dbgs() << "Queue " << Name << ": ";


        


More information about the llvm-commits mailing list