[Mlir-commits] [mlir] [mlir][DataLayout] Add a default memory space entry to the data layout. (PR #127416)
Rolf Morel
llvmlistbot at llvm.org
Thu Feb 27 09:38:26 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,
----------------
rolfmorel wrote:
As I don't have any better suggestions at the moment (though I also haven't been able to think about it much), I am happy to go with @Dinistro 's "this is probably acceptable."
Maybe someone finds a better way later on.
https://github.com/llvm/llvm-project/pull/127416
More information about the Mlir-commits
mailing list