diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-20 03:32:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-20 03:32:45 +0000 |
commit | 57bebbbd1229040ad659ef4671a34e8d1d78a6f6 (patch) | |
tree | 34c7b6df3d0d86d27b1ae26670bbf3635823c457 | |
parent | 117f3e9ee426ab7eb120b5ca1b65763baae2a824 (diff) |
Remove a remnant of list-burr's fast mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59702 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index aecd2ce2aa..8e9ab44bd0 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1185,15 +1185,6 @@ namespace { bool operator()(const SUnit* left, const SUnit* right) const; }; - struct bu_ls_rr_fast_sort : public std::binary_function<SUnit*, SUnit*, bool>{ - RegReductionPriorityQueue<bu_ls_rr_fast_sort> *SPQ; - bu_ls_rr_fast_sort(RegReductionPriorityQueue<bu_ls_rr_fast_sort> *spq) - : SPQ(spq) {} - bu_ls_rr_fast_sort(const bu_ls_rr_fast_sort &RHS) : SPQ(RHS.SPQ) {} - - bool operator()(const SUnit* left, const SUnit* right) const; - }; - struct td_ls_rr_sort : public std::binary_function<SUnit*, SUnit*, bool> { RegReductionPriorityQueue<td_ls_rr_sort> *SPQ; td_ls_rr_sort(RegReductionPriorityQueue<td_ls_rr_sort> *spq) : SPQ(spq) {} @@ -1454,17 +1445,6 @@ bool bu_ls_rr_sort::operator()(const SUnit *left, const SUnit *right) const { return (left->NodeQueueId > right->NodeQueueId); } -bool -bu_ls_rr_fast_sort::operator()(const SUnit *left, const SUnit *right) const { - unsigned LPriority = SPQ->getNodePriority(left); - unsigned RPriority = SPQ->getNodePriority(right); - if (LPriority != RPriority) - return LPriority > RPriority; - assert(left->NodeQueueId && right->NodeQueueId && - "NodeQueueId cannot be zero"); - return (left->NodeQueueId > right->NodeQueueId); -} - template<class SF> bool RegReductionPriorityQueue<SF>::canClobber(const SUnit *SU, const SUnit *Op) { |