[Mlir-commits] [mlir] Reimplementing target description concept using DLTI attribute (PR #92138)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Tue May 14 12:05:37 PDT 2024
================
@@ -23,11 +23,17 @@
namespace mlir {
class DataLayout;
class DataLayoutEntryInterface;
+class TargetDeviceDescSpecInterface;
+class TargetSystemDescSpecInterface;
using DataLayoutEntryKey = llvm::PointerUnion<Type, StringAttr>;
// Using explicit SmallVector size because we cannot infer the size from the
// forward declaration, and we need the typedef in the actual declaration.
using DataLayoutEntryList = llvm::SmallVector<DataLayoutEntryInterface, 4>;
using DataLayoutEntryListRef = llvm::ArrayRef<DataLayoutEntryInterface>;
+// using TargetDeviceDescSpecList =
+// llvm::SmallVector<TargetDeviceDescSpecInterface, 4>;
----------------
ftynse wrote:
Let's not commit commented-out code.
https://github.com/llvm/llvm-project/pull/92138
More information about the Mlir-commits
mailing list