[Mlir-commits] [mlir] [MLIR][Python] Make traits declarative in python-defined operations (PR #180748)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Feb 10 07:19:55 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 3447 tests passed
* 413 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.python/dialects/ext.py</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
"C:/Python312/python.exe" C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py
# executed command: C:/Python312/python.exe 'C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py:495:11: error: CHECK: expected string not found in input
# |  # CHECK: ext_region.yield should be put inside ext_region.if
# |           ^
# | <stdin>:205:21: note: scanning from here
# | Verification failed:
# |                     ^
# | <stdin>:206:39: note: possible intended match here
# | error: unknown: result type mismatch between YieldOp and its parent IfOp
# |                                       ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\python\dialects\ext.py
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            200: Testing violation cases: 
# |            201: Verification failed: 
# |            202: error: unknown: block with no terminator, has %3 = "arith.constant"() <{value = 2 : i32}> : () -> i32 
# |            203:  note: unknown: see current operation: %3 = "arith.constant"() <{value = 2 : i32}> : () -> i32 
# |            204: index out of range 
# |            205: Verification failed: 
# | check:495'0                         X error: no match found
# |            206: error: unknown: result type mismatch between YieldOp and its parent IfOp 
# | check:495'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:495'1                                           ?                                   possible intended match
# | >>>>>>
# `-----------------------------
# 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/180748


More information about the Mlir-commits mailing list