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

Christian Ulmann llvmlistbot at llvm.org
Thu Feb 27 00:02:59 PST 2025


================
@@ -615,11 +633,13 @@ 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` is provided to further"
+               "query data from the spec, e.g. the default address space.",
----------------
Dinistro wrote:

```suggestion
               "`oldLayout` spec entries. `newSpec` is provided to further"
               "query data from the spec, e.g., the default address space.",
```

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


More information about the Mlir-commits mailing list