[llvm] Adding Matching and Inference Functionality to Propeller (PR #160706)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 11:06:46 PDT 2025


================
@@ -920,17 +923,19 @@ struct BBAddrMap {
                    false}; // Metdata for this basic block.
     // Offsets of end of call instructions, relative to the basic block start.
     SmallVector<uint32_t, 1> CallsiteEndOffsets;
+    uint64_t Hash = 0;     // Hash for this basic block.
 
     BBEntry(uint32_t ID, uint32_t Offset, uint32_t Size, Metadata MD,
-            SmallVector<uint32_t, 1> CallsiteEndOffsets)
+            SmallVector<uint32_t, 1> CallsiteEndOffsets, uint64_t Hash = 0)
----------------
rlavaee wrote:

We don't need the default value here.

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


More information about the llvm-commits mailing list