[llvm] [Docs] Update Opt's Option to Specify Pass Pipeline (NFC) (PR #148402)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 07:46:10 PDT 2025
================
@@ -46,12 +46,12 @@ OPTIONS
Write output in LLVM intermediate language (instead of bitcode).
-.. option:: -{passname}
+.. option:: -passes=<string>
- :program:`opt` provides the ability to run any of LLVM's optimization or
- analysis passes in any order. The :option:`-help` option lists all the passes
- available. The order in which the options occur on the command line are the
- order in which they are executed (within pass constraints).
+ A textual (comma-separated) description of the pass pipeline,
+ e.g.,``-passes="sroa,instcombine"``. See
----------------
nikic wrote:
```suggestion
e.g., ``-passes="sroa,instcombine"``. See
```
Maybe this will fix the "Inline literal start-string without end-string." error?
https://github.com/llvm/llvm-project/pull/148402
More information about the llvm-commits
mailing list