[Mlir-commits] [mlir] [MLIR] Fix use-after-free in DistinctAttr when using crash recovery (PR #148666)
Tobias Gysi
llvmlistbot at llvm.org
Mon Jul 14 11:48:57 PDT 2025
gysit wrote:
Looking at the implementation of disable multi-threading it seems like it destroys the thread-pool. My understanding is that this will also free the allocators in the thread local cache (i.e. the IR would break). A thread local cache, for this use case, only makes sense if the thread pool is alive during the entire lifetime of the mlir context.
https://github.com/llvm/llvm-project/pull/148666
More information about the Mlir-commits
mailing list