We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f7c6e commit f81193dCopy full SHA for f81193d
llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
@@ -80,16 +80,10 @@ class ScheduleDAGFast : public ScheduleDAGSDNodes {
80
void Schedule() override;
81
82
/// AddPred - adds a predecessor edge to SUnit SU.
83
- /// This returns true if this is a new predecessor.
84
- void AddPred(SUnit *SU, const SDep &D) {
85
- SU->addPred(D);
86
- }
+ void AddPred(SUnit *SU, const SDep &D) { SU->addPred(D); }
87
88
/// RemovePred - removes a predecessor edge from SUnit SU.
89
- /// This returns true if an edge was removed.
90
- void RemovePred(SUnit *SU, const SDep &D) {
91
- SU->removePred(D);
92
+ void RemovePred(SUnit *SU, const SDep &D) { SU->removePred(D); }
93
94
private:
95
void ReleasePred(SUnit *SU, SDep *PredEdge);
0 commit comments