[PATCH] D134664: [nfc][mlgo] Lazily compute the regalloc reward

Jacob Hegna via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 13:45:40 PDT 2022


jacobhegna accepted this revision.
jacobhegna added a comment.
This revision is now accepted and ready to land.

In D134664#3816107 <https://reviews.llvm.org/D134664#3816107>, @mtrofin wrote:

> In D134664#3816089 <https://reviews.llvm.org/D134664#3816089>, @jacobhegna wrote:
>
>> so the point of this is just to avoid recomputing the reward for the two different regalloc models? the reward will always be computed the same way for both models?
>
> the point is to avoid computing if noone needs it - which is always the case except when training.

ah ah ok, makes sense


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134664



More information about the llvm-commits mailing list