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

Lorenzo Casalino via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 06:10:42 PDT 2019


DoktorC updated this revision to Diff 215738.
DoktorC marked an inline comment as done.
DoktorC added a comment.

Insert `Available.size() >= ReadyListLimit` at beginning of `SchedBoundary::releasePending`
loop, allowing early-exit in case of full `Available` queue.

Further, fix update of `MinReadyCycle`: it was set to `SU->ReadyCycle`, even if the
scheduling unit was not moved to the `Available` queue.
(thank @fhahn)


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

https://reviews.llvm.org/D65506

Files:
  llvm/include/llvm/CodeGen/MachineScheduler.h
  llvm/lib/CodeGen/MachineScheduler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65506.215738.patch
Type: text/x-patch
Size: 3774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190817/783f0380/attachment.bin>


More information about the llvm-commits mailing list