[Mlir-commits] [mlir] [mlir] [core]: in -mlir-print-ir-*, dump the pass options as well (PR #195198)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Apr 30 17:02:30 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 7928 tests passed
* 607 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.Pass/dynamic-pipeline-nested.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir -pass-pipeline='builtin.module(builtin.module(test-dynamic-pipeline{op-name=inner_mod1 dynamic-pipeline=cse}))' --mlir-disable-threading -mlir-print-ir-before-all 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir --check-prefix=NOTNESTED --check-prefix=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir '-pass-pipeline=builtin.module(builtin.module(test-dynamic-pipeline{op-name=inner_mod1 dynamic-pipeline=cse}))' --mlir-disable-threading -mlir-print-ir-before-all
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir --check-prefix=NOTNESTED --check-prefix=CHECK
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir:13:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: module @inner_mod1
# | ^
# | <stdin>:3:1: note: 'next' match was here
# | module @inner_mod1 {
# | ^
# | <stdin>:1:73: note: previous match ended here
# | // -----// IR Dump Before (anonymous namespace)::TestDynamicPipelinePass (test-dynamic-pipeline) //----- //
# | ^
# | <stdin>:2:1: note: non-matching line after previous match is here
# | // Pass options: test-dynamic-pipeline{dynamic-pipeline=cse op-name={inner_mod1} run-on-nested-operations=false run-on-parent=false}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline-nested.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----// IR Dump Before (anonymous namespace)::TestDynamicPipelinePass (test-dynamic-pipeline) //----- //
# | 2: // Pass options: test-dynamic-pipeline{dynamic-pipeline=cse op-name={inner_mod1} run-on-nested-operations=false run-on-parent=false}
# | 3: module @inner_mod1 {
# | next:13 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 4: module @foo {
# | 5: }
# | 6: module @baz {
# | 7: }
# | 8: }
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Pass/dynamic-pipeline.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir -pass-pipeline='builtin.module(builtin.module(test-dynamic-pipeline{op-name=inner_mod1, dynamic-pipeline=func.func(cse,canonicalize)}))' --mlir-disable-threading -mlir-print-ir-before-all 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir --check-prefix=MOD1 --check-prefix=MOD1-ONLY --check-prefix=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir '-pass-pipeline=builtin.module(builtin.module(test-dynamic-pipeline{op-name=inner_mod1, dynamic-pipeline=func.func(cse,canonicalize)}))' --mlir-disable-threading -mlir-print-ir-before-all
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir --check-prefix=MOD1 --check-prefix=MOD1-ONLY --check-prefix=CHECK
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir:13:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: module @inner_mod1
# | ^
# | <stdin>:3:1: note: 'next' match was here
# | module @inner_mod1 {
# | ^
# | <stdin>:1:73: note: previous match ended here
# | // -----// IR Dump Before (anonymous namespace)::TestDynamicPipelinePass (test-dynamic-pipeline) //----- //
# | ^
# | <stdin>:2:1: note: non-matching line after previous match is here
# | // Pass options: test-dynamic-pipeline{dynamic-pipeline=func.func(cse,canonicalize) op-name={inner_mod1,} run-on-nested-operations=false run-on-parent=false}
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/dynamic-pipeline.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----// IR Dump Before (anonymous namespace)::TestDynamicPipelinePass (test-dynamic-pipeline) //----- //
# | 2: // Pass options: test-dynamic-pipeline{dynamic-pipeline=func.func(cse,canonicalize) op-name={inner_mod1,} run-on-nested-operations=false run-on-parent=false}
# | 3: module @inner_mod1 {
# | next:13 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 4: func.func @foo() {
# | 5: return
# | 6: }
# | 7: func.func @baz() {
# | 8: return
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Pass/ir-printing.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir -mlir-disable-threading=true -pass-pipeline='builtin.module(func.func(cse,canonicalize))' -mlir-print-ir-before=cse -o /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=BEFORE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir -mlir-disable-threading=true '-pass-pipeline=builtin.module(func.func(cse,canonicalize))' -mlir-print-ir-before=cse -o /dev/null
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=BEFORE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir:20:17: error: BEFORE-NEXT: is not on the line after the previous match
# | // BEFORE-NEXT: func @foo()
# | ^
# | <stdin>:3:6: note: 'next' match was here
# | func.func @foo() {
# | ^
# | <stdin>:1:51: note: previous match ended here
# | // -----// IR Dump Before CSEPass (cse) //----- //
# | ^
# | <stdin>:2:1: note: non-matching line after previous match is here
# | // Pass options: cse
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/ir-printing.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----// IR Dump Before CSEPass (cse) //----- //
# | 2: // Pass options: cse
# | 3: func.func @foo() {
# | next:20 !~~~~~~~~~~ error: match on wrong line
# | 4: %c0_i32 = arith.constant 0 : i32
# | 5: return
# | 6: }
# | 7:
# | 8: // -----// IR Dump Before CSEPass (cse) //----- //
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>MLIR.Pass/run-reproducer.mlir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir --run-reproducer -dump-pass-pipeline 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir --run-reproducer -dump-pass-pipeline
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir --run-reproducer -mlir-print-ir-before=cse 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=BEFORE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir --run-reproducer -mlir-print-ir-before=cse
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=BEFORE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir:30:17: error: BEFORE-NEXT: is not on the line after the previous match
# | // BEFORE-NEXT: func @foo()
# | ^
# | <stdin>:3:6: note: 'next' match was here
# | func.func @foo() {
# | ^
# | <stdin>:1:51: note: previous match ended here
# | // -----// IR Dump Before CSEPass (cse) //----- //
# | ^
# | <stdin>:2:1: note: non-matching line after previous match is here
# | // Pass options: cse
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/run-reproducer.mlir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: // -----// IR Dump Before CSEPass (cse) //----- //
# | 2: // Pass options: cse
# | 3: func.func @foo() {
# | next:30 !~~~~~~~~~~ error: match on wrong line
# | 4: %c0_i32 = arith.constant 0 : i32
# | 5: return
# | 6: }
# | 7:
# | 8: // -----// IR Dump Before CSEPass (cse) //----- //
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/195198
More information about the Mlir-commits
mailing list