Adopt Properties to store operations inherent Attributes in the SparseTensor dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 07:09:12 +0000 (01:09 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 10 May 2023 23:15:20 +0000 (00:15 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

Differential Revision: https://reviews.llvm.org/D148935

mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td

index b0e9089..e751960 100644 (file)
@@ -85,6 +85,7 @@ def SparseTensor_Dialect : Dialect {
 
   let useDefaultAttributePrinterParser = 1;
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 #endif // SPARSETENSOR_BASE