[Mlir-commits] [mlir] [mlir] Use non thread-local allocator for DistinctAttr when threading is disabled (PR #128566)

Artemiy Bulavin llvmlistbot at llvm.org
Thu Mar 6 08:50:10 PST 2025


================
@@ -23,7 +23,9 @@
 #include "mlir/Support/ThreadLocalCache.h"
 #include "llvm/ADT/APFloat.h"
 #include "llvm/ADT/PointerIntPair.h"
+#include "llvm/Support/ErrorHandling.h"
----------------
abulavin wrote:

This is left over from a previous commit, apologies. I would like to clarify though, since clangd tells me there are other headers unused here, shall I remove those too as an en-passant tidy? Notably,
- `"mlir/Support/StorageUniquer.h"`
- `"llvm/ADT/PointerIntPair.h"`
- `"llvm/Support/TrailingObjects.h"`

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


More information about the Mlir-commits mailing list