projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10efce
)
ifdef out a dead function. Should this be removed?
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Mar 2008 15:36:27 +0000
(15:36 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Mar 2008 15:36:27 +0000
(15:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48916
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index cef3eafc5c5e558ebc74bbe8c68d0cdc69984bee..024190df6bd79250143e955ffc2f0701a4455cf9 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@
-1708,6
+1708,7
@@
void BURegReductionPriorityQueue<SF>::CalculateSethiUllmanNumbers() {
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
@@
static unsigned SumOfUnscheduledPredsOfSuccs(const SUnit *SU) {
return Sum;
}
+#endif
/// LimitedSumOfUnscheduledPredsOfSuccs - Compute the sum of the unscheduled
/// predecessors of the successors of the SUnit SU. Stop when the provided