[PATCH] D138370: [MLGO][AsmPrinter] Call-graph reward calculation

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 07:17:45 PST 2022


nikic resigned from this revision.
nikic added a comment.

(Not familiar with either ML or AsmPrinter)



================
Comment at: llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:433
   AU.addRequired<GCModuleInfo>();
+  AU.addRequired<MachineBlockFrequencyInfo>();
 }
----------------
Should probably be conditional on CalculateReward.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138370/new/

https://reviews.llvm.org/D138370



More information about the llvm-commits mailing list