[Mlir-commits] [mlir] [mlir][py] invalidate nested operations when parent is deleted (PR #93339)

Stella Laurenzo llvmlistbot at llvm.org
Fri May 24 14:56:59 PDT 2024


stellaraccident wrote:

If there was an extra int slot on every operation, you could manage something by assigning a non reusable identity value to any operation with outside bindings. But there is not such a slot, and I don't think we would just make such a thing. It would have to be part of some kind of c++ feature for holding weakrefs to operations...

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


More information about the Mlir-commits mailing list