[llvm-branch-commits] [BOLT][BAT] Fix encoded NumBasicBlocks (PR #87830)

Alexander Yermolovich via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 5 16:24:52 PDT 2024


================
@@ -426,8 +426,9 @@ void BoltAddressTranslation::dump(raw_ostream &OS) {
   for (const auto &MapEntry : Maps) {
     const uint64_t Address = MapEntry.first;
     const uint64_t HotAddress = fetchParentAddress(Address);
+    bool IsHotFunction = HotAddress == 0;
----------------
ayermolo wrote:

const

https://github.com/llvm/llvm-project/pull/87830


More information about the llvm-branch-commits mailing list