[Mlir-commits] [mlir] [mlir][CSE] Add cleanup PostDominanceInfo logic to cse (PR #192628)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Apr 17 04:06:03 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 7828 tests passed
* 606 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### MLIR
<details>
<summary>MLIR.Pass/pass-timing.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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true -pass-pipeline='builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=list 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=LIST /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true '-pass-pipeline=builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=list
# 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=LIST /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true -pass-pipeline='builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=list -mlir-output-format=json 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=LIST-JSON /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true '-pass-pipeline=builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=list -mlir-output-format=json
# 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=LIST-JSON /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.mlir
# note: command had no output on stdout or stderr
# RUN: at line 3
/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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true -pass-pipeline='builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=tree 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=PIPELINE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.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/pass-timing.mlir -mlir-disable-threading=true -verify-each=true '-pass-pipeline=builtin.module(func.func(cse,canonicalize,cse))' -mlir-timing -mlir-timing-display=tree
# 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=PIPELINE /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.mlir:31:19: error: PIPELINE-NEXT: is not on the line after the previous match
# | // PIPELINE-NEXT: (A) PostDominanceInfo
# |                   ^
# | <stdin>:11:17: note: 'next' match was here
# |  0.0000 ( 0.1%) (A) PostDominanceInfo
# |                 ^
# | <stdin>:9:20: note: previous match ended here
# |  0.0000 ( 0.8%) CSEPass
# |                    ^
# | <stdin>:10:1: note: non-matching line after previous match is here
# |  0.0000 ( 0.1%) (A) DominanceInfo
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pass-timing.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |          6:  ----Wall Time---- ----Name---- 
# |          7:  0.0019 ( 79.4%) Parser 
# |          8:  0.0003 ( 11.8%) 'func.func' Pipeline 
# |          9:  0.0000 ( 0.8%) CSEPass 
# |         10:  0.0000 ( 0.1%) (A) DominanceInfo 
# |         11:  0.0000 ( 0.1%) (A) PostDominanceInfo 
# | next:31                     !~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         12:  0.0002 ( 9.9%) CanonicalizerPass 
# |         13:  0.0000 ( 0.5%) CSEPass 
# |         14:  0.0000 ( 0.1%) (A) DominanceInfo 
# |         15:  0.0000 ( 0.1%) (A) PostDominanceInfo 
# |         16:  0.0001 ( 2.4%) Output 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>MLIR.Pass/pipeline-parsing.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/pipeline-parsing.mlir -mlir-disable-threading -pass-pipeline='builtin.module(builtin.module(test-module-pass,func.func(test-function-pass)),func.func(test-function-pass),func.func(cse,canonicalize))' -verify-each=false -mlir-timing -mlir-timing-display=tree 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/pipeline-parsing.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/pipeline-parsing.mlir -mlir-disable-threading '-pass-pipeline=builtin.module(builtin.module(test-module-pass,func.func(test-function-pass)),func.func(test-function-pass),func.func(cse,canonicalize))' -verify-each=false -mlir-timing -mlir-timing-display=tree
# 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/pipeline-parsing.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pipeline-parsing.mlir:42:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: PostDominanceInfo
# |                ^
# | <stdin>:13:21: note: 'next' match was here
# |  0.0000 ( 0.1%) (A) PostDominanceInfo
# |                     ^
# | <stdin>:11:20: note: previous match ended here
# |  0.0000 ( 1.6%) CSEPass
# |                    ^
# | <stdin>:12:1: note: non-matching line after previous match is here
# |  0.0000 ( 0.1%) (A) DominanceInfo
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Pass/pipeline-parsing.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |          8:  0.0001 ( 12.0%) Pipeline Collection : ['builtin.module', 'func.func'] 
# |          9:  0.0001 ( 9.2%) 'func.func' Pipeline 
# |         10:  0.0000 ( 0.2%) (anonymous namespace)::TestFunctionPass 
# |         11:  0.0000 ( 1.6%) CSEPass 
# |         12:  0.0000 ( 0.1%) (A) DominanceInfo 
# |         13:  0.0000 ( 0.1%) (A) PostDominanceInfo 
# | next:42                         !~~~~~~~~~~~~~~~~  error: match on wrong line
# |         14:  0.0000 ( 6.6%) CanonicalizerPass 
# |         15:  0.0000 ( 1.7%) 'builtin.module' Pipeline 
# |         16:  0.0000 ( 0.0%) (anonymous namespace)::TestModulePass 
# |         17:  0.0000 ( 0.7%) 'func.func' Pipeline 
# |         18:  0.0000 ( 0.1%) (anonymous namespace)::TestFunctionPass 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# 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/192628


More information about the Mlir-commits mailing list