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

Stella Laurenzo llvmlistbot at llvm.org
Fri May 24 14:49:26 PDT 2024


stellaraccident wrote:

In this case, unless if you can hook every way in c++ that an operation* can be invalidated or have some form of "weak opptr" semantics, there is no better way. As we've seen, the attempt to keep a parallel accounting itself is its own enemy due to pointer reuse.

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


More information about the Mlir-commits mailing list