diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-10 07:25:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-10 07:25:12 +0000 |
commit | df3750642a90e2865145104157f9f12b46ce5e24 (patch) | |
tree | 00bc4734229d0000bbc0bb08d7916f311bf40826 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | 7593639df672018d90331774f45b5ef06da2f385 (diff) |
Move the VRBase field from NodeInfo to being a separate, explicit, map.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 76d499d33d..bf0277bea1 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -610,13 +610,14 @@ void ScheduleDAGList::BuildSchedUnits() { /// EmitSchedule - Emit the machine code in scheduled order. void ScheduleDAGList::EmitSchedule() { + std::map<SDNode*, unsigned> VRBaseMap; for (unsigned i = 0, e = Sequence.size(); i != e; i++) { if (SUnit *SU = Sequence[i]) { for (unsigned j = 0, ee = SU->FlaggedNodes.size(); j != ee; j++) { SDNode *N = SU->FlaggedNodes[j]; - EmitNode(getNI(N)); + EmitNode(getNI(N), VRBaseMap); } - EmitNode(getNI(SU->Node)); + EmitNode(getNI(SU->Node), VRBaseMap); } else { // Null SUnit* is a noop. EmitNoop(); |