projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f229a5d
)
Dis-favor stores more
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 1 May 2006 09:20:44 +0000
(09:20 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 1 May 2006 09:20:44 +0000
(09:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28035
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index d686267e404df22e8b52bdce3163f909e3918bc7..f964490b1c21b2593afcac560a8f2813516e7b1a 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/
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;