[Mlir-commits] [mlir] [mlir][test] Speculative fix for python/dialects test (PR #160651)
Maksim Levental
llvmlistbot at llvm.org
Thu Sep 25 00:51:37 PDT 2025
makslevental wrote:
I saw your question on discord
```
Actually, looking at it again, there's a python assertion failure before that:
```
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/builddir/build/BUILD/llvm-22.0.0_pre20250925.gba24b3ec6695b2-build/llvm-project-ba24b3ec6695b239366f82968fa78702f6f89da9/mlir/test/python/dialects/python_test.py", line 886, in <module>
# | @run
# | ^^^
# | File "/builddir/build/BUILD/llvm-22.0.0_pre20250925.gba24b3ec6695b2-build/llvm-project-ba24b3ec6695b239366f82968fa78702f6f89da9/mlir/test/python/dialects/python_test.py", line 37, in run
# | f()
# | ~^^
# | File "/builddir/build/BUILD/llvm-22.0.0_pre20250925.gba24b3ec6695b2-build/llvm-project-ba24b3ec6695b239366f82968fa78702f6f89da9/mlir/test/python/dialects/python_test.py", line 906, in testVariadicResultAccess
# | typing.get_type_hints(test.same_variadic_result_vfv)["return"]
# | is Union[OpResult, OpResultList, test.SameVariadicResultSizeOpVFV]
# | AssertionError
# `-----------------------------
```
That check was introduced in this PR https://github.com/llvm/llvm-project/pull/158455 along with the necessary mlir-tblgen code to make it pass. I'm not how you could have the assert but not the correct generated code - possibly you need to need do a clean build.
https://github.com/llvm/llvm-project/pull/160651
More information about the Mlir-commits
mailing list