[PATCH] D65506: [MachineScheduler] improve reuse of 'releaseNode'method

Lorenzo Casalino via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 02:46:40 PDT 2019


DoktorC marked an inline comment as done.
DoktorC added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineScheduler.cpp:2361
-
-    if (Available.size() >= ReadyListLimit)
-      break;
----------------
fhahn wrote:
> The new code is is missing this condition and Available.size() may exceed ReadyListLimit I think.
Actually,  'HazardDetected' condition in 'releaseNode' covers this case.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65506/new/

https://reviews.llvm.org/D65506





More information about the llvm-commits mailing list