[PATCH] D134166: [MLGO] Add per-instruction MBB frequencies to regalloc dev features
Aiden Grossman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 00:56: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.
This commit adds in two new features to the ML regalloc eviction
analysis that can be used in ML models, a vector of MBB frequencies and
a vector of indicies mapping instructions to their corresponding basic
blocks. This will allow for further experimentation with per-instruction
features and give a lot more flexibility for future experimentation over
how we're extracting MBB frequency data currently.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134166
Files:
llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
llvm/lib/CodeGen/MLRegallocEvictAdvisor.h
llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134166.461156.patch
Type: text/x-patch
Size: 11908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220919/33c4ef18/attachment.bin>
More information about the llvm-commits
mailing list