[Mlir-commits] [mlir] [mlir] expose transform dialect symbol merge to python (PR #87690)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Tue Apr 16 09:38:26 PDT 2024


ftynse wrote:

I don't see how one can implement a move in a reasonable way in Python. It is possible to mark the moved-from operation as invalid at the bindings level and raise an error on the second access, but it isn't something the language naturally has and is therefore surprising. OTOH, the anticipated use case is "load library A, merge symbols from A into script X, merge symbols from B into script Y, ..." so we don't want to consume the library.

https://github.com/llvm/llvm-project/pull/87690


More information about the Mlir-commits mailing list