projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739e37a
)
Added FIXME for future Hexagon cleanup.
author
Andrew Trick
<atrick@apple.com>
Sat, 2 Mar 2013 01:43:08 +0000
(
01:43
+0000)
committer
Andrew Trick
<atrick@apple.com>
Sat, 2 Mar 2013 01:43:08 +0000
(
01:43
+0000)
llvm-svn: 176400
llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
b/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
index
ced17b3
..
9d3c8b8
100644
(file)
--- a/
llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
+++ b/
llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
@@
-159,6
+159,9
@@
void VLIWMachineScheduler::schedule() {
SchedImpl->initialize(this);
// To view Height/Depth correctly, they should be accessed at least once.
+ //
+ // FIXME: SUnit::dumpAll always recompute depth and height now. The max
+ // depth/height could be computed directly from the roots and leaves.
DEBUG(unsigned maxH = 0;
for (unsigned su = 0, e = SUnits.size(); su != e; ++su)
if (SUnits[su].getHeight() > maxH)