[all-commits] [llvm/llvm-project] 8d77f8: [MLGO] Add per-instruction MBB frequencies to rega...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Wed Sep 28 11:45:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d77f8fde7074639e1146f92e1c1e872316776ed
https://github.com/llvm/llvm-project/commit/8d77f8fde7074639e1146f92e1c1e872316776ed
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.h
M llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
M llvm/unittests/CodeGen/MLRegallocDevelopmentFeatures.cpp
Log Message:
-----------
[MLGO] Add per-instruction MBB frequencies to regalloc dev features
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.
Reviewed By: mtrofin, jacobhegna
Differential Revision: https://reviews.llvm.org/D134166
More information about the All-commits
mailing list