[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 22:11:00 PDT 2024


================
@@ -725,18 +739,22 @@ bool YAMLProfileReader::inferStaleProfile(
   const BinaryFunction::BasicBlockOrderType BlockOrder(
       BF.getLayout().block_begin(), BF.getLayout().block_end());
 
+  // Tracks the number of matched blocks.
+  uint64_t MatchedBlocks;
----------------
WenleiHe wrote:

nit: use explicit initialization to be safe. 

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


More information about the llvm-branch-commits mailing list