diff options
author | Andrew Trick <atrick@apple.com> | 2013-03-02 01:43:08 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-03-02 01:43:08 +0000 |
commit | 1c01af8f26f1ddca69d332dd8456fdeab3d1936e (patch) | |
tree | 708738d867e52db693652d4cae7a1a1b2583c2e6 /lib/Target/Hexagon | |
parent | 5290baacb8ca4fb75d798e873a441cad11cbfb2c (diff) |
Added FIXME for future Hexagon cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon')
-rw-r--r-- | lib/Target/Hexagon/HexagonMachineScheduler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonMachineScheduler.cpp b/lib/Target/Hexagon/HexagonMachineScheduler.cpp index ced17b3c0a..9d3c8b8c91 100644 --- a/lib/Target/Hexagon/HexagonMachineScheduler.cpp +++ b/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) |