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:
6d209c4
)
Oops. Last second clean up messed things up.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Feb 2009 09:52:13 +0000
(09:52 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 12 Feb 2009 09:52:13 +0000
(09:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64373
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index 912e8ed7f7ca02469cd1f17f8f1db2698f1b3626..e461666f61cb79789b1a0496d8c0e9ad86789deb 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@
-1074,9
+1074,10
@@
static unsigned closestSucc(const SUnit *SU) {
static unsigned calcMaxScratches(const SUnit *SU) {
unsigned Scratches = 0;
for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end();
- I != E; ++I)
+ I != E; ++I)
{
if (I->isCtrl()) continue; // ignore chain preds
- Scratches++;
+ Scratches++;
+ }
return Scratches;
}