From e7c30b87d36e87b0e4bd49ebc31c8527f333c6cf Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 4 May 2025 21:45:13 -0700 Subject: [PATCH] [SelectionDAG] Remove obsolete comments (NFC) These fucntions do not return boolean values. --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index 30f65bde142d2..0a6ee1613b6bf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp @@ -80,16 +80,10 @@ class ScheduleDAGFast : public ScheduleDAGSDNodes { void Schedule() override; /// AddPred - adds a predecessor edge to SUnit SU. - /// This returns true if this is a new predecessor. - void AddPred(SUnit *SU, const SDep &D) { - SU->addPred(D); - } + void AddPred(SUnit *SU, const SDep &D) { SU->addPred(D); } /// RemovePred - removes a predecessor edge from SUnit SU. - /// This returns true if an edge was removed. - void RemovePred(SUnit *SU, const SDep &D) { - SU->removePred(D); - } + void RemovePred(SUnit *SU, const SDep &D) { SU->removePred(D); } private: void ReleasePred(SUnit *SU, SDep *PredEdge);