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

Maksim Levental llvmlistbot at llvm.org
Tue Aug 26 12:22:21 PDT 2025


================
@@ -238,11 +233,6 @@ blocks. We may end up needing an op-local one at some point TBD, depending on
 how hard it is to guarantee how mutations interact with their Python peer
 objects. We can cross that bridge easily when we get there.
 
-Module, when used purely from the Python API, can't alias anyway, so we can use
-it as a top-level ref type without a live-list for interning. If the API ever
-changes such that this cannot be guaranteed (i.e. by letting you marshal a
-native-defined Module in), then there would need to be a live table for it too.
----------------
makslevental wrote:

This isn't even valid/true anymore - we do have (before this PR) a `liveModules` live-list.

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


More information about the Mlir-commits mailing list