[PATCH] D132778: [BOLT] Change reorder-blocks deprecated option warning output
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 15:48:47 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG873942e1783f: [BOLT] Change reorder-blocks deprecated option warning output (authored by Amir).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132778/new/
https://reviews.llvm.org/D132778
Files:
bolt/lib/Passes/BinaryPasses.cpp
Index: bolt/lib/Passes/BinaryPasses.cpp
===================================================================
--- bolt/lib/Passes/BinaryPasses.cpp
+++ bolt/lib/Passes/BinaryPasses.cpp
@@ -178,9 +178,8 @@
cl::ZeroOrMore, cl::cat(BoltOptCategory),
cl::callback([](const bolt::ReorderBasicBlocks::LayoutType &option) {
if (option == bolt::ReorderBasicBlocks::LT_OPTIMIZE_CACHE_PLUS) {
- WithColor::warning()
- << "'-reorder-blocks=cache+' is deprecated, "
- << "please use '-reorder-blocks=ext-tsp' instead\n";
+ errs() << "BOLT-WARNING: '-reorder-blocks=cache+' is deprecated, please"
+ << " use '-reorder-blocks=ext-tsp' instead\n";
ReorderBlocks = bolt::ReorderBasicBlocks::LT_OPTIMIZE_EXT_TSP;
}
}));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132778.458903.patch
Type: text/x-patch
Size: 788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220908/cdaa1e2d/attachment.bin>
More information about the llvm-commits
mailing list