[Mlir-commits] [mlir] [MLIR][CAPI][Python] Add support for querying memory effect instances (PR #213459)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Aug 3 06:58:26 PDT 2026


================
@@ -546,21 +565,22 @@ static void populateDialectTransformSubmodule(nb::module_ &m) {
   PyPatternDescriptorOpInterface::bind(m);
 
   m.def("only_reads_handle", onlyReadsHandle,
-        "Mark operands as only reading handles.", nb::arg("operands"),
-        nb::arg("effects"));
+        "Returns effects marking operands as only reading handles.",
----------------
PragmaTwice wrote:

Comments updated : )

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


More information about the Mlir-commits mailing list