[Mlir-commits] [mlir] Reimplementing target description concept using DLTI attribute (PR #92138)
Mehdi Amini
llvmlistbot at llvm.org
Tue May 14 13:36:41 PDT 2024
================
@@ -124,6 +126,150 @@ class DataLayoutSpecAttr
static constexpr StringLiteral name = "builtin.data_layout_spec";
};
+//===----------------------------------------------------------------------===//
+// TargetSystemDescSpecAttr
+//===----------------------------------------------------------------------===//
+
+/// A system description attribute is a list of device descriptors, each
+/// having a unique device ID
+class TargetSystemDescSpecAttr
----------------
joker-eph wrote:
As mentioned in the other PR: I don't quite get why these can't be defined in ODS, so please define them in ODS or document why they cannot be.
https://github.com/llvm/llvm-project/pull/92138
More information about the Mlir-commits
mailing list