[Mlir-commits] [mlir] [mlir] Add option to ignore commutativity in OperationEquality (PR #181507)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Feb 15 13:05:53 PST 2026


github-actions[bot] wrote:

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

* 7487 tests passed
* 600 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.IR/operation-equality.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/IR/operation-equality.mlir -split-input-file --test-operations-equality | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/IR/operation-equality.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/IR/operation-equality.mlir -split-input-file --test-operations-equality
# 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/IR/operation-equality.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/IR/operation-equality.mlir:191:16: error: CHECK-SAME: expected string not found in input
# | // CHECK-SAME: compares equals
# |                ^
# | <stdin>:171:37: note: scanning from here
# | test.commutatively_equal_permutation with attr {} compares NOT equals!
# |                                     ^
# | <stdin>:171:51: note: possible intended match here
# | test.commutatively_equal_permutation with attr {} compares NOT equals!
# |                                                   ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/IR/operation-equality.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           166:  "test.consumer"(%0#1, %0#0) : (i32, i32) -> () 
# |           167:  }) : () -> () 
# |           168: } 
# |           169:  
# |           170: // ----- 
# |           171: test.commutatively_equal_permutation with attr {} compares NOT equals! 
# | same:191'0                                         X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | same:191'1                                                       ?                     possible intended match
# |           172: module attributes {test.includes_setup} { 
# | same:191'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           173:  %0:2 = "test.producer"() : () -> (i32, i32) 
# | same:191'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           174:  "test.commutatively_equal_permutation"() ({ 
# | same:191'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           175:  %1 = arith.addi %0#0, %0#1 : i32 
# | same:191'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           176:  }) : () -> () 
# | same:191'0     ~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# 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/181507


More information about the Mlir-commits mailing list