[llvm] Replace print-at-pass-number cl::opt with print-before-pass-number (PR #76211)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 2 21:23:51 PST 2024


================
@@ -119,8 +119,8 @@ static cl::opt<bool> PrintPassNumbers(
     cl::desc("Print pass names and their ordinals"));
 
 static cl::opt<unsigned>
-    PrintAtPassNumber("print-at-pass-number", cl::init(0), cl::Hidden,
-                cl::desc("Print IR at pass with this number as "
+    PrintBeforePassNumber("print-before-pass-number", cl::init(0), cl::Hidden,
+                cl::desc("Print IR before the pass with this number as "
                          "reported by print-passes-names"));
----------------
aeubanks wrote:

should this help text be `print-pass-numbers`?

https://github.com/llvm/llvm-project/pull/76211


More information about the llvm-commits mailing list