diff --git a/bolt/lib/Passes/BinaryPasses.cpp b/bolt/lib/Passes/BinaryPasses.cpp --- a/bolt/lib/Passes/BinaryPasses.cpp +++ b/bolt/lib/Passes/BinaryPasses.cpp @@ -187,8 +187,8 @@ cl::callback([&](bolt::ReorderBasicBlocks::LayoutType& option) = { if (option == bolt::ReorderBasicBlocks::LT_OPTIMIZE_CACHE_PLUS) { option = bolt::ReorderBasicBlocks::LT_OPTIMIZE_EXT_TSP; - WithColor::warning() << "option cache+ is deprecated, automatically" - << "switch to option ext-tsp.\n"; + WithColor::warning() << "'-reorder-blocks=cache+' is deprecated, " + << "please use '-reorder-blocks=ext-tsp' instead.\n"; } });