[Mlir-commits] [mlir] [MLIR][Python] remove `liveOperations` (PR #155114)

Ingo Müller llvmlistbot at llvm.org
Mon Aug 25 02:00:46 PDT 2025


================
@@ -67,6 +67,12 @@ Returns a new MlirModule or raises an MLIRError if the parsing fails.
 See also: https://mlir.llvm.org/docs/LangRef/
 )";
 
+static const char kModuleCAPICreate[] =
+    R"(Creates a Module from a MlirModule wrapped by a capsule (i.e. module._CAPIPtr).
+Note this returns a new object BUT _clear_mlir_module(module) must be called to
----------------
ingomueller-net wrote:

When does this need to be called and on which module?

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


More information about the Mlir-commits mailing list