[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 14 09:10:32 PDT 2024


================
@@ -180,6 +186,17 @@ struct BlendedBlockHash {
   uint8_t SuccHash{0};
 };
 
+/// A data object containing function matching information.
+struct FunctionMatchingData {
+public:
+  /// The number of blocks matched exactly.
+  uint64_t MatchedExactBlocks{0};
+  /// The number of blocks matched loosely.
+  uint64_t MatchedLooseBlocks{0};
+  /// The number of execution counts matched.
+  uint64_t MatchedExecCounts{0};
----------------
WenleiHe wrote:

What's the intended use for these two? There is no usage anywhere right now, and usually we don't keep unused stuff around.

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


More information about the llvm-branch-commits mailing list