[PATCH] D115195: [mlgo][regalloc] Add score calculation for training
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 6 16:00:56 PST 2021
mtrofin marked an inline comment as done.
mtrofin added inline comments.
================
Comment at: llvm/lib/CodeGen/RegAllocScore.h:35-40
+ double CopyCounts = 0.0;
+ double LoadCounts = 0.0;
+ double StoreCounts = 0.0;
+ double CheapRematCounts = 0.0;
+ double LoadStoreCounts = 0.0;
+ double ExpensiveRematCounts = 0.0;
----------------
yundiqian wrote:
> total instructions?
we're not using those currently, so decided against collecting those just yet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115195/new/
https://reviews.llvm.org/D115195
More information about the llvm-commits
mailing list