[Mlir-commits] [mlir] [mlir] Use non thread-local allocator for DistinctAttr when threading is disabled (PR #128566)
River Riddle
llvmlistbot at llvm.org
Wed Mar 5 14:57:11 PST 2025
================
@@ -153,6 +153,13 @@ class MLIRContext {
disableMultithreading(!enable);
}
+ /// Set the flag specifying if thread-local storage should be used
+ /// by storage allocators in this context.
----------------
River707 wrote:
I'd note here that disabling multi-threading should also imply disabling thread local storage.
https://github.com/llvm/llvm-project/pull/128566
More information about the Mlir-commits
mailing list