[Mlir-commits] [mlir] [MLIR][DLTI] Pretty parsing and printing for DLTI attrs (PR #113365)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Mon Oct 28 16:16:17 PDT 2024


================
@@ -304,7 +304,7 @@ def TargetSystemSpecInterface : AttrInterface<"TargetSystemSpecInterface", [DLTI
   let methods = [
     InterfaceMethod<
       /*description=*/"Returns the list of layout entries.",
-      /*retTy=*/"llvm::ArrayRef<DeviceIDTargetDeviceSpecPair>",
+      /*retTy=*/"llvm::ArrayRef<DataLayoutEntryInterface>",
----------------
ftynse wrote:

```suggestion
      /*retTy=*/"::llvm::ArrayRef<DataLayoutEntryInterface>",
```

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


More information about the Mlir-commits mailing list