[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)
Amir Ayupov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 17 09:44:56 PDT 2024
================
@@ -391,10 +397,9 @@ createFlowFunction(const BinaryFunction::BasicBlockOrderType &BlockOrder) {
/// of the basic blocks in the binary, the count is "matched" to the block.
/// Similarly, if both the source and the target of a count in the profile are
/// matched to a jump in the binary, the count is recorded in CFG.
-void matchWeightsByHashes(BinaryContext &BC,
- const BinaryFunction::BasicBlockOrderType &BlockOrder,
- const yaml::bolt::BinaryFunctionProfile &YamlBF,
- FlowFunction &Func) {
+uint64_t matchWeightsByHashes(
----------------
aaupov wrote:
```suggestion
size_t matchWeightsByHashes(
```
https://github.com/llvm/llvm-project/pull/95156
More information about the llvm-branch-commits
mailing list