[llvm] Adding Matching and Inference Functionality to Propeller-PR3: Read basic block hashes from propeller profile. (PR #164223)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 08:27:53 PDT 2025


================
@@ -54,6 +54,8 @@ struct FunctionPathAndClusterInfo {
   DenseMap<UniqueBBID, uint64_t> NodeCounts;
   // Edge counts for each edge, stored as a nested map.
   DenseMap<UniqueBBID, DenseMap<UniqueBBID, uint64_t>> EdgeCounts;
+  // Hash for each basic block.
----------------
rlavaee wrote:

Please update the comment to clarify that hashes are stored for every original block (not cloned blocks), hence the map key being `unsigned` instead of `UniqueBBID`.

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


More information about the llvm-commits mailing list