Added FIXME for future Hexagon cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2013-03-02 01:43:08 +00:00
parent 5290baacb8
commit 1c01af8f26

View File

@ -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)