[Mlir-commits] [mlir] 3e10d8f - Adopt Properties to store operations inherent Attributes in the EmitC dialect
Mehdi Amini
llvmlistbot at llvm.org
Tue May 9 06:59:52 PDT 2023
Author: Mehdi Amini
Date: 2023-05-09T14:58:42+01:00
New Revision: 3e10d8f02cb74b580191c662b5f26f47a1d6864f
URL: https://github.com/llvm/llvm-project/commit/3e10d8f02cb74b580191c662b5f26f47a1d6864f
DIFF: https://github.com/llvm/llvm-project/commit/3e10d8f02cb74b580191c662b5f26f47a1d6864f.diff
LOG: Adopt Properties to store operations inherent Attributes in the EmitC dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148888
Added:
Modified:
mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
index 375dbcbce1d03..446f50996bcc5 100644
--- a/mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
+++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitCBase.td
@@ -31,6 +31,7 @@ def EmitC_Dialect : Dialect {
let hasConstantMaterializer = 1;
let useDefaultTypePrinterParser = 1;
let useDefaultAttributePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
#endif // MLIR_DIALECT_EMITC_IR_EMITCBASE
More information about the Mlir-commits
mailing list