Change ScheduleDAG's SUnitMap from DenseMap<SDNode*, vector<SUnit*> >
authorDan Gohman <gohman@apple.com>
Sat, 21 Jun 2008 15:52:51 +0000 (15:52 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 21 Jun 2008 15:52:51 +0000 (15:52 +0000)
commit4c8c83022b501759d8559e224c84ae2a9921ba41
tree5df6ec8924dbc464433d326264e44beaed92605c
parent4ce138cc5593fb17161308af3cf25981b4088c17
Change ScheduleDAG's SUnitMap from DenseMap<SDNode*, vector<SUnit*> >
to DenseMap<SDNode*, SUnit*>, and adjust the way cloned SUnit nodes are
handled so that only the original node needs to be in the map.
This speeds up llc on 447.dealII.llvm.bc by about 2%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52576 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp