[llvm] [opt] Remove reference to new PM from description of optimization level flags (PR #65169)
Björn Pettersson via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 4 09:41:59 PDT 2023
================
@@ -149,32 +149,30 @@ static cl::opt<bool>
StripNamedMetadata("strip-named-metadata",
cl::desc("Strip module-level named metadata"));
-
-
static cl::opt<bool>
OptLevelO0("O0", cl::desc("Optimization level 0. Similar to clang -O0. "
- "Use -passes='default<O0>' for the new PM"));
+ "Same as -passes='default<O0>'"));
----------------
bjope wrote:
@aeubanks: Me and @karka228 is testing the PullRequest funcitonality a bit with this simple adjustment of the options descriptions. So I tried out adding you as an additional reviewer.
Given the rules we got for mixing -O and -passes this new wording will highlight that -O<n> is equivalent to the longer form using -passes. So I think this is a nice improvement.
https://github.com/llvm/llvm-project/pull/65169
More information about the llvm-commits
mailing list