[PATCH] D115195: [mlgo][regalloc] Add score calculation for training

Yundi Qian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 15:56:59 PST 2021


yundiqian accepted this revision.
yundiqian added inline comments.
This revision is now accepted and ready to land.


================
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;
----------------
total instructions?


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