[PATCH] D119810: [ProfData] Change type of options from int to uint64_t.
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 14 23:21:23 PST 2022
luna created this revision.
Herald added a subscriber: hiraditya.
luna added reviewers: snehasish, hoy, wenlei.
luna published this revision for review.
luna added a comment.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Adding reviewers based on history (https://github.com/llvm/llvm-project/commits/main/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp) but let me know if I should modify reviewers. thanks!
- Reader uses option values to override uint64_t values.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119810
Files:
llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
Index: llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
===================================================================
--- llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
+++ llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
@@ -59,12 +59,12 @@
// The next two options override the counts derived from summary computation and
// are useful for debugging purposes.
-cl::opt<int> ProfileSummaryHotCount(
+cl::opt<uint64_t> ProfileSummaryHotCount(
"profile-summary-hot-count", cl::ReallyHidden, cl::ZeroOrMore,
cl::desc("A fixed hot count that overrides the count derived from"
" profile-summary-cutoff-hot"));
-cl::opt<int> ProfileSummaryColdCount(
+cl::opt<uint64_t> ProfileSummaryColdCount(
"profile-summary-cold-count", cl::ReallyHidden, cl::ZeroOrMore,
cl::desc("A fixed cold count that overrides the count derived from"
" profile-summary-cutoff-cold"));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119810.408717.patch
Type: text/x-patch
Size: 910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220215/9398d2ac/attachment.bin>
More information about the llvm-commits
mailing list