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

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 12:05:55 PDT 2023


Amir added inline comments.


================
Comment at: bolt/lib/Profile/StaleProfileMatching.cpp:439
+    BC.Stats.StaleSampleCount += YamlBB.ExecCount;
+    if (AllInstrHashes.find(BlendedHash.InstrHash) != AllInstrHashes.end()) {
+      ++BC.Stats.NumMatchedBlocks;
----------------
But AllInstrHashes is not used in FlowBlock lookup above?


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