[Mlir-commits] [mlir] 1368145 - Adopt Properties to store operations inherent Attributes in the SparseTensor dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 16:16:38 PDT 2023
Author: Mehdi Amini
Date: 2023-05-11T00:15:20+01:00
New Revision: 13681450728e4768b75a805e01818f368033f44c
URL: https://github.com/llvm/llvm-project/commit/13681450728e4768b75a805e01818f368033f44c
DIFF: https://github.com/llvm/llvm-project/commit/13681450728e4768b75a805e01818f368033f44c.diff
LOG: Adopt Properties to store operations inherent Attributes in the SparseTensor dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148935
Added:
Modified:
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
index b0e9089c3230e..e7519602a3a60 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
@@ -85,6 +85,7 @@ def SparseTensor_Dialect : Dialect {
let useDefaultAttributePrinterParser = 1;
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
#endif // SPARSETENSOR_BASE
More information about the Mlir-commits
mailing list