[llvm] [CSSPGO] Error out if the checksum mismatch is high (PR #84097)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 20:01:32 PDT 2024
================
@@ -234,6 +234,24 @@ static cl::opt<unsigned> ProfileICPRelativeHotnessSkip(
cl::desc(
"Skip relative hotness check for ICP up to given number of targets."));
+static cl::opt<unsigned> ChecksumMismatchFuncHotBlockSkip(
+ "checksum-mismatch-func-hot-block-skip", cl::Hidden, cl::init(100),
+ cl::desc("For checksum-mismatch error check, skip checking the function "
+ "whose num of hot(on average) blocks is smaller than the "
+ "given number."));
+
+static cl::opt<unsigned> ChecksumMismatchNumFuncSkip(
+ "checksum-mismatch-num-func-skip", cl::Hidden, cl::init(50),
----------------
WenleiHe wrote:
How about `min-functions-for-staleness-error`?
https://github.com/llvm/llvm-project/pull/84097
More information about the llvm-commits
mailing list