[Mlir-commits] [mlir] Reimplementing target description concept using DLTI Attributes (PR #91670)
Mehdi Amini
llvmlistbot at llvm.org
Thu May 9 21:47:38 PDT 2024
================
@@ -124,6 +126,141 @@ class DataLayoutSpecAttr
static constexpr StringLiteral name = "builtin.data_layout_spec";
};
+//===----------------------------------------------------------------------===//
+// TargetSystemDescSpecAttr
+//===----------------------------------------------------------------------===//
+
+/// A system description attribute is a list of device descriptors, each
+/// having a uniq device ID
+class TargetSystemDescSpecAttr
----------------
joker-eph wrote:
Why can't this attribute be defined with TableGen?
https://github.com/llvm/llvm-project/pull/91670
More information about the Mlir-commits
mailing list