[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
Sun Jun 16 15:43:34 PDT 2024
================
@@ -394,7 +400,7 @@ createFlowFunction(const BinaryFunction::BasicBlockOrderType &BlockOrder) {
void matchWeightsByHashes(BinaryContext &BC,
const BinaryFunction::BasicBlockOrderType &BlockOrder,
const yaml::bolt::BinaryFunctionProfile &YamlBF,
- FlowFunction &Func) {
+ FlowFunction &Func, uint64_t &MatchedBlocksCount) {
----------------
aaupov wrote:
I think it makes sense to return the stats as a result of matching. We can extend the return type into struct in the future if the need arises.
https://github.com/llvm/llvm-project/pull/95156
More information about the llvm-branch-commits
mailing list