diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-05-01 09:20:44 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-05-01 09:20:44 +0000 |
commit | 0d084fb9ca9f17e350421d9435d50b96a879362b (patch) | |
tree | c630756d31da0d8b01383aec478966bab32ade2b /llvm/lib | |
parent | 24e795496d2db0708602ba71fd7890f2e1cbfb91 (diff) | |
download | bcm5719-llvm-0d084fb9ca9f17e350421d9435d50b96a879362b.tar.gz bcm5719-llvm-0d084fb9ca9f17e350421d9435d50b96a879362b.zip |
Dis-favor stores more
llvm-svn: 28035
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index d686267e404..f964490b1c2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -821,9 +821,9 @@ bool ls_rr_sort::operator()(const SUnit *left, const SUnit *right) const { // This would make sure the scheduled code completed all computations and // the stores before the next series of computation starts. if (!left->isStore && right->isStore) - LBonus += 2; + LBonus += 4; if (left->isStore && !right->isStore) - RBonus += 2; + RBonus += 4; // Priority1 is just the number of live range genned. int LPriority1 = left ->NumPredsLeft - LBonus; |