diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2023-04-21 01:09:12 -0600 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2023-05-11 00:15:20 +0100 |
commit | 13681450728e4768b75a805e01818f368033f44c (patch) | |
tree | 47f68461a03bca93787a0442109ed6da6cdb48fe | |
parent | c85bcb4751b248bff18c9c866204c4cf54d3772d (diff) | |
download | llvm-13681450728e4768b75a805e01818f368033f44c.zip llvm-13681450728e4768b75a805e01818f368033f44c.tar.gz llvm-13681450728e4768b75a805e01818f368033f44c.tar.bz2 |
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
-rw-r--r-- | mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td index b0e9089..e751960 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 |