[PATCH] D131209: [mlgo] Add ability to create feature-gated development features in regalloc advisor

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 15:04:48 PDT 2022


aidengrossman created this revision.
Herald added subscribers: mtrofin, hiraditya, qcolombet, MatzeB.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently there is no way to add in development features to the ML
regalloc evict advisor which is useful to have when working on feature
engineering/improving the current model. This patch adds in the ability
to add in development features to the ML regalloc evict advisor which
are gated by a runtime flag and not added in at all if not compiled in
LLVM development mode. This sets the stage for future work where we are
planning on upstreaming some of the newer features that we are currently
experimenting with.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131209

Files:
  llvm/lib/Analysis/TFUtils.cpp
  llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131209.450147.patch
Type: text/x-patch
Size: 19452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/9adace12/attachment.bin>


More information about the llvm-commits mailing list