[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jun 12 13:55:57 PDT 2024
================
@@ -59,6 +59,8 @@ struct FlowFunction {
/// The index of the entry block.
uint64_t Entry{0};
uint64_t Sink{UINT64_MAX};
+ // Matched execution count for the function.
+ uint64_t MatchedExecCount{0};
----------------
WenleiHe wrote:
nit: I'd be careful about adding this to `FlowFunction` -- strictly speaking this doesn't belong to flow function, which just describe the CFG and if we add function level "attributes" to flow functions, we'd have a lot more here.
https://github.com/llvm/llvm-project/pull/95156
More information about the llvm-branch-commits
mailing list