summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-05-25 03:08:10 +0000
committerAndrew Trick <atrick@apple.com>2013-05-25 03:08:10 +0000
commite2431c64bc1a46adfe534aee9f5401e882483748 (patch)
treee06d206ae2852a78240c4797443fc5b969288b47 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
parentef9de2a7397179bba9a272502dce41173d53985c (diff)
downloadbcm5719-llvm-e2431c64bc1a46adfe534aee9f5401e882483748.tar.gz
bcm5719-llvm-e2431c64bc1a46adfe534aee9f5401e882483748.zip
Track IR ordering of SelectionDAG nodes 3/4.
Remove the old IR ordering mechanism and switch to new one. Fix unit test failures. llvm-svn: 182704
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index c009cfcc516..75ef116de26 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -1692,7 +1692,7 @@ public:
unsigned getNodeOrdering(const SUnit *SU) const {
if (!SU->getNode()) return 0;
- return scheduleDAG->DAG->GetOrdering(SU->getNode());
+ return SU->getNode()->getIROrder();
}
bool empty() const { return Queue.empty(); }
OpenPOWER on IntegriCloud