[llvm-commits] [llvm] r48916 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Chris Lattner
sabre at nondot.org
Fri Mar 28 08:36:27 PDT 2008
Author: lattner
Date: Fri Mar 28 10:36:27 2008
New Revision: 48916
URL: http://llvm.org/viewvc/llvm-project?rev=48916&view=rev
Log:
ifdef out a dead function. Should this be removed?
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp?rev=48916&r1=48915&r2=48916&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp Fri Mar 28 10:36:27 2008
@@ -1708,6 +1708,7 @@
CalcNodeSethiUllmanNumber(&(*SUnits)[i]);
}
+#if 0
static unsigned SumOfUnscheduledPredsOfSuccs(const SUnit *SU) {
unsigned Sum = 0;
for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
@@ -1723,6 +1724,7 @@
return Sum;
}
+#endif
/// LimitedSumOfUnscheduledPredsOfSuccs - Compute the sum of the unscheduled
/// predecessors of the successors of the SUnit SU. Stop when the provided
More information about the llvm-commits
mailing list