[PATCH] D154737: [BOLT] Add stale-related logging

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 17:05:45 PDT 2023


maksfb added inline comments.


================
Comment at: bolt/lib/Profile/StaleProfileMatching.cpp:395
 /// matched to a jump in the binary, the count is recorded in CFG.
-void matchWeightsByHashes(const BinaryFunction::BasicBlockOrderType &BlockOrder,
+void matchWeightsByHashes(BinaryFunction &BF,
+                          const BinaryFunction::BasicBlockOrderType &BlockOrder,
----------------
Now you can pass just the `BinaryContext`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154737



More information about the llvm-commits mailing list