[Mlir-commits] [mlir] 9bda581 - Adopt Properties to store operations inherent Attributes in the MLProgram dialect
Mehdi Amini
llvmlistbot at llvm.org
Tue May 9 17:31:33 PDT 2023
Author: Mehdi Amini
Date: 2023-05-10T01:31:00+01:00
New Revision: 9bda58120f2706251192774267095f655e81526d
URL: https://github.com/llvm/llvm-project/commit/9bda58120f2706251192774267095f655e81526d
DIFF: https://github.com/llvm/llvm-project/commit/9bda58120f2706251192774267095f655e81526d.diff
LOG: Adopt Properties to store operations inherent Attributes in the MLProgram dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148894
Added:
Modified:
mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td b/mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td
index a585059020eaf..1143db5e3a6de 100644
--- a/mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td
+++ b/mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td
@@ -29,6 +29,7 @@ def MLProgram_Dialect : Dialect {
let useDefaultAttributePrinterParser = 1;
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
#endif // MLPROGRAM_BASE
More information about the Mlir-commits
mailing list