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:
05e69c1
)
Remove dead code.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Sep 2007 23:45:46 +0000
(23:45 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 12 Sep 2007 23:45:46 +0000
(23:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41899
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 11c69a4e29340e6a2837465410dd0934d62f8ca5..070fdbdc705c8d5ef035e4eba104ba9a69d13205 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@
-182,7
+182,7
@@
void ScheduleDAG::BuildSchedUnits() {
void ScheduleDAG::CalculateDepths() {
std::vector<std::pair<SUnit*, unsigned> > WorkList;
for (unsigned i = 0, e = SUnits.size(); i != e; ++i)
- if (SUnits[i].Preds.size() == 0
/* && &SUnits[i] != Entry*/
)
+ if (SUnits[i].Preds.size() == 0)
WorkList.push_back(std::make_pair(&SUnits[i], 0U));
while (!WorkList.empty()) {