[Mlir-commits] [mlir] [mlir][DataLayout] Add a default memory space entry to the data layout. (PR #127416)
Rolf Morel
llvmlistbot at llvm.org
Mon Mar 10 13:58:49 PDT 2025
================
@@ -637,11 +655,15 @@ def DataLayoutTypeInterface : TypeInterface<"DataLayoutTypeInterface"> {
InterfaceMethod<
/*desc=*/"Returns true if the two lists of entries are compatible, that "
"is, that `newLayout` spec entries can be nested in an op with "
- "`oldLayout` spec entries.",
+ "`oldLayout` spec entries. `newSpec` and `identified` are"
+ "provided to further query data from the combined spec, e.g.,"
+ "the default address space.",
/*retTy=*/"bool",
/*methodName=*/"areCompatible",
/*args=*/(ins "::mlir::DataLayoutEntryListRef":$oldLayout,
----------------
rolfmorel wrote:
Could you add a TODO and link to the Github issue here as well? I am personally more likely to see it on this interface.
https://github.com/llvm/llvm-project/pull/127416
More information about the Mlir-commits
mailing list