[PATCH] D126722: [BOLT][NFC] Warning for deprecated option '-reorder-blocks=cache+'

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 15:24:30 PDT 2022


rafauler accepted this revision.
rafauler added inline comments.
This revision is now accepted and ready to land.


================
Comment at: bolt/lib/Passes/BinaryPasses.cpp:190-191
+          option = bolt::ReorderBasicBlocks::LT_OPTIMIZE_EXT_TSP;
+	  WithColor::warning() << "option cache+ is deprecated, automatically"
+	                       << "switch to option ext-tsp.\n";
+       }
----------------
"option cache+ is deprecated, please use ext-tsp.\n"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126722/new/

https://reviews.llvm.org/D126722



More information about the llvm-commits mailing list