[Mlir-commits] [mlir] [mlir][DataLayout] Add a default memory space entry to the data layout. (PR #127416)
Fabian Mora
llvmlistbot at llvm.org
Mon Feb 17 05:46:50 PST 2025
================
@@ -200,6 +205,15 @@ struct SingleQueryType
return Attribute();
}
+ Attribute getDefaultMemorySpace(DataLayoutEntryInterface entry) {
+ static bool executed = false;
----------------
fabianmcg wrote:
That was the existing mechanism:
https://github.com/llvm/llvm-project/blob/main/mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp#L203-L229
Should I change all of them?
https://github.com/llvm/llvm-project/pull/127416
More information about the Mlir-commits
mailing list