[llvm] [Passes] Enhance `--print-pipeline-passes` (PR #202892)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 06:26:11 PDT 2026
================
@@ -0,0 +1,13 @@
+; RUN: opt -p 'no-op-module' %s --filetype=null --disable-pipeline-verification --print-pipeline-passes | \
+; RUN: FileCheck %s --check-prefix=TEXT
+
+; RUN: opt -p 'no-op-module,function(no-op-function)' %s --filetype=null \
+; RUN: --disable-pipeline-verification --print-pipeline-passes=tree | \
----------------
boomanaiden154 wrote:
It's unclear to me why exactly verification would fail because of the existence of a path.
This command is not erroring out for me locally.
```
./bin/opt -p 'no-op-module,function(no-op-function)' /dev/null --filetype=null -S -print-pipeline-passes ```
Prints the pipeline just fine for me:
```
no-op-module,function(no-op-function),verify,print
```
https://github.com/llvm/llvm-project/pull/202892
More information about the llvm-commits
mailing list