[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 15:03:49 PDT 2024


================
@@ -444,6 +444,8 @@ void BoltAddressTranslation::dump(raw_ostream &OS) {
         OS << formatv(" hash: {0:x}", BBHashMap.getBBHash(Val));
       OS << "\n";
     }
+    if (HotAddress == 0)
----------------
ayermolo wrote:

Can you add a comment on why we output on !HotAddress?

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


More information about the llvm-branch-commits mailing list