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

Fabian Mora llvmlistbot at llvm.org
Fri Mar 7 16:18:18 PST 2025


================
@@ -318,7 +318,8 @@ combineOneSpec(DataLayoutSpecInterface spec,
            "unexpected data layout entry for built-in type");
 
     auto interface = cast<DataLayoutTypeInterface>(typeSample);
-    if (!interface.areCompatible(entriesForType.lookup(kvp.first), kvp.second))
+    if (!interface.areCompatible(entriesForType.lookup(kvp.first), kvp.second,
----------------
fabianmcg wrote:

@rolfmorel I created the issue and added the comment. Let's follow up the discussion on the issue. I agree that the simplest solution is just making those values constant.

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


More information about the Mlir-commits mailing list