[Mlir-commits] [mlir] [MLIR][Python] Impl XOpInterface(s) from Python, with X=Transform and X=MemoryEffects (PR #176920)

Maksim Levental llvmlistbot at llvm.org
Tue Feb 3 11:51:24 PST 2026


makslevental wrote:

note: in places where i suggested `PyValue&` instead of `MlirValue` we need to be cognisant of the issue I ran into here: https://github.com/llvm/llvm-project/pull/176299, namely that lvalue reference and `nb::rv_policy::automatic` decays to `nb::rv_policy::copy` for [lvalue refs](https://nanobind.readthedocs.io/en/latest/api_core.html#_CPPv4N8nanobind9rv_policy9automaticE).

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


More information about the Mlir-commits mailing list