summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-01 09:20:44 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-01 09:20:44 +0000
commit0d084fb9ca9f17e350421d9435d50b96a879362b (patch)
treec630756d31da0d8b01383aec478966bab32ade2b /llvm/lib
parent24e795496d2db0708602ba71fd7890f2e1cbfb91 (diff)
downloadbcm5719-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.cpp4
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;
OpenPOWER on IntegriCloud