[Mlir-commits] [mlir] [MLIR][CAPI][Python] Add support for querying memory effect instances (PR #213459)
Maksim Levental
llvmlistbot at llvm.org
Sat Aug 1 12:28:13 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.",
----------------
makslevental wrote:
confusing - i think you mean this both marks the operands *and* returns the effects? actually i'm not sure even after looking at the impl...
https://github.com/llvm/llvm-project/pull/213459
More information about the Mlir-commits
mailing list