diff options
| author | Dan Gohman <gohman@apple.com> | 2009-01-16 01:33:36 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-01-16 01:33:36 +0000 |
| commit | ceac7c34f1af9a704aebe1ed5de7ed9c99a9dc64 (patch) | |
| tree | 0257d002c2de252876fa9ee98f14d5112e63aa5f /llvm/lib/CodeGen/SelectionDAG | |
| parent | bece5d61f65902510601ca4ddac5db3744768b95 (diff) | |
| download | bcm5719-llvm-ceac7c34f1af9a704aebe1ed5de7ed9c99a9dc64.tar.gz bcm5719-llvm-ceac7c34f1af9a704aebe1ed5de7ed9c99a9dc64.zip | |
Initial hazard recognizer support in post-pass scheduling. This includes
a new toy hazard recognizier heuristic which attempts to direct the
scheduler to avoid clumping large groups of loads or stores too densely.
llvm-svn: 62291
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 1d11c37e343..41be25354d9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -234,7 +234,7 @@ void ScheduleDAGList::ListScheduleTopDown() { // processors without pipeline interlocks and other cases. DOUT << "*** Emitting noop\n"; HazardRec->EmitNoop(); - Sequence.push_back(0); // NULL SUnit* -> noop + Sequence.push_back(0); // NULL here means noop ++NumNoops; ++CurCycle; } |

