[Mlir-commits] [mlir] [mlir][DataLayout] Add a default memory space entry to the data layout. (PR #127416)

Mehdi Amini llvmlistbot at llvm.org
Mon Feb 17 05:39:11 PST 2025


================
@@ -200,6 +205,15 @@ struct SingleQueryType
     return Attribute();
   }
 
+  Attribute getDefaultMemorySpace(DataLayoutEntryInterface entry) {
+    static bool executed = false;
----------------
joker-eph wrote:

That's not thread safe/

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


More information about the Mlir-commits mailing list