diff options
author | Andrew Trick <atrick@apple.com> | 2013-05-25 03:08:10 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-05-25 03:08:10 +0000 |
commit | e2431c64bc1a46adfe534aee9f5401e882483748 (patch) | |
tree | e06d206ae2852a78240c4797443fc5b969288b47 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | |
parent | ef9de2a7397179bba9a272502dce41173d53985c (diff) | |
download | bcm5719-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.cpp | 2 |
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(); } |