[llvm-branch-commits] [clang] [openmp] [libc] [lldb] [clang-tools-extra] [flang] [mlir] [libcxx] [llvm] [BOLT] Write and parse BF/BB hashes in BAT (PR #76907)

Rafael Auler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 25 14:57:47 PST 2024


================
@@ -36,9 +37,12 @@ void BoltAddressTranslation::writeEntriesForBB(MapTy &Map,
   if (BBInputOffset == BinaryBasicBlock::INVALID_OFFSET)
     return;
 
-  LLVM_DEBUG(dbgs() << "BB " << BB.getName() << "\n");
-  LLVM_DEBUG(dbgs() << "  Key: " << Twine::utohexstr(BBOutputOffset)
-                    << " Val: " << Twine::utohexstr(BBInputOffset) << "\n");
+  LLVM_DEBUG(dbgs() << "BB " << BB.getName() << "\n"
----------------
rafaelauler wrote:

So you're not using the basic block hash anywhere, other than printing it to debug output?

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


More information about the llvm-branch-commits mailing list