[Mlir-commits] [mlir] [MLIR][Python] Remove partial LLVM APIs in python bindings (3/n) (PR #178984)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jan 30 14:56:06 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3443 tests passed
* 413 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### MLIR
<details>
<summary>MLIR.python/ir/operation.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\ir\operation.py | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py
# executed command: C:/Python312/python.exe 'C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py'
# .---command stderr------------
# | Traceback (most recent call last):
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py", line 735, in <module>
# | @run
# | ^^^
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py", line 15, in run
# | f()
# | File "C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py", line 777, in testOperationPrint
# | module.operation.write_bytecode(str(tmpfile.name), desired_version=1)
# | ValueError: Unable to open file for writing: C:\Users\ContainerAdministrator\AppData\Local\Temp\lit-tmp-v5ymm20e\tmp5mua7y4w
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py:839:16: error: CHECK-LABEL: expected string not found in input
# | # CHECK-LABEL: TEST: testKnownOpView
# | ^
# | <stdin>:163:25: note: scanning from here
# | TEST: testOperationPrint
# | ^
# | <stdin>:166:40: note: possible intended match here
# | %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi32>
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\mlir\test\python\ir\operation.py
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 158: Dict mapping {'dependent': 'text', 'other.attribute': 3.0, 'some.attribute': 1}
# | 159: Matched Mapping Attribute 'some.attribute': 1
# | 160: Matched Mapping Attribute 'other.attribute': 3.0
# | 161: Matched Mapping Attribute 'dependent': text
# | 162:
# | 163: TEST: testOperationPrint
# | label:839'0 X error: no match found
# | 164: module {
# | label:839'0 ~~~~~~~~~
# | 165: func.func @f1(%arg0: i32) -> i32 {
# | label:839'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 166: %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi32>
# | label:839'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:839'1 ? possible intended match
# | 167: %cst_0 = arith.constant dense_resource<resource1> : tensor<3xi64>
# | label:839'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 168: return %arg0 : i32
# | label:839'0 ~~~~~~~~~~~~~~~~~~~~
# | 169: }
# | label:839'0 ~~~
# | 170: }
# | label:839'0 ~~
# | 171:
# | label:839'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/178984
More information about the Mlir-commits
mailing list