[Mlir-commits] [mlir] 890aa28 - Adopt Properties to store operations inherent Attributes in the Quant dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 06:54:12 PDT 2023
Author: Mehdi Amini
Date: 2023-05-10T14:53:38+01:00
New Revision: 890aa28f1c9a502ad012d83ad4d6ad60f75efccb
URL: https://github.com/llvm/llvm-project/commit/890aa28f1c9a502ad012d83ad4d6ad60f75efccb
DIFF: https://github.com/llvm/llvm-project/commit/890aa28f1c9a502ad012d83ad4d6ad60f75efccb.diff
LOG: Adopt Properties to store operations inherent Attributes in the Quant dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148900
Added:
Modified:
mlir/include/mlir/Dialect/Quant/QuantOpsBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Quant/QuantOpsBase.td b/mlir/include/mlir/Dialect/Quant/QuantOpsBase.td
index 74d69c046f06b..f5f1ce86e08c7 100644
--- a/mlir/include/mlir/Dialect/Quant/QuantOpsBase.td
+++ b/mlir/include/mlir/Dialect/Quant/QuantOpsBase.td
@@ -20,6 +20,7 @@ def Quantization_Dialect : Dialect {
let cppNamespace = "::mlir::quant";
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list