Added FIXME for future Hexagon cleanup.
[oota-llvm.git] / lib / Target / Hexagon / HexagonMachineScheduler.cpp
index ced17b3c0a45cf0d8efbbecdc2d9dd6184b3b4b4..9d3c8b8c91750b0b64571de6251c0e4c5a62dfca 100644 (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)