[PATCH] D140847: [BOLT] Modify the print option to a meaningful value
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 19:07:53 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe3b47d31ae8a: [BOLT] Modify the print option to a meaningful value (authored by hezuoqiang <hezuoqiang2 at huawei.com>, committed by maksfb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140847/new/
https://reviews.llvm.org/D140847
Files:
bolt/lib/Passes/BinaryPasses.cpp
Index: bolt/lib/Passes/BinaryPasses.cpp
===================================================================
--- bolt/lib/Passes/BinaryPasses.cpp
+++ bolt/lib/Passes/BinaryPasses.cpp
@@ -122,22 +122,19 @@
cl::desc("print statistics about basic block ordering"),
cl::init(0), cl::cat(BoltOptCategory));
-static cl::list<bolt::DynoStats::Category>
-PrintSortedBy("print-sorted-by",
- cl::CommaSeparated,
- cl::desc("print functions sorted by order of dyno stats"),
- cl::value_desc("key1,key2,key3,..."),
- cl::values(
+static cl::list<bolt::DynoStats::Category> PrintSortedBy(
+ "print-sorted-by", cl::CommaSeparated,
+ cl::desc("print functions sorted by order of dyno stats"),
+ cl::value_desc("key1,key2,key3,..."),
+ cl::values(
#define D(name, ...) \
clEnumValN(bolt::DynoStats::name, \
dynoStatsOptName(bolt::DynoStats::name), \
dynoStatsOptDesc(bolt::DynoStats::name)),
- DYNO_STATS
+ DYNO_STATS
#undef D
- clEnumValN(0xffff, ".", ".")
- ),
- cl::ZeroOrMore,
- cl::cat(BoltOptCategory));
+ clEnumValN(bolt::DynoStats::LAST_DYNO_STAT, ".", ".")),
+ cl::ZeroOrMore, cl::cat(BoltOptCategory));
static cl::opt<bool>
PrintUnknown("print-unknown",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140847.487639.patch
Type: text/x-patch
Size: 1343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/ebf67a41/attachment.bin>
More information about the llvm-commits
mailing list