[PATCH] D134166: [MLGO] Add per-instruction MBB frequencies to regalloc dev features
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 11:08:31 PDT 2022
mtrofin added inline comments.
================
Comment at: llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp:1048
+ const int MBBMappingIndex) {
+ size_t CurrentMBBIndex = VisitedMBBs[CurrentMBBName];
+ float CurrentMBBFreq = GetMBBFreq(CurrentIndex);
----------------
Why not use the MBB address?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134166/new/
https://reviews.llvm.org/D134166
More information about the llvm-commits
mailing list