[Mlir-commits] [mlir] 307d0cc - Adopt Properties to store operations inherent Attributes in the PDL dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 06:54:09 PDT 2023
Author: Mehdi Amini
Date: 2023-05-10T14:53:38+01:00
New Revision: 307d0cceb9de9d1e7c7e2e3300649e77e8fed142
URL: https://github.com/llvm/llvm-project/commit/307d0cceb9de9d1e7c7e2e3300649e77e8fed142
DIFF: https://github.com/llvm/llvm-project/commit/307d0cceb9de9d1e7c7e2e3300649e77e8fed142.diff
LOG: Adopt Properties to store operations inherent Attributes in the PDL dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148898
Added:
Modified:
mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td b/mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
index d405bec26634c..812720cd4aadf 100644
--- a/mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
+++ b/mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td
@@ -66,6 +66,7 @@ def PDL_Dialect : Dialect {
let cppNamespace = "::mlir::pdl";
let useDefaultTypePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
let extraClassDeclaration = [{
void registerTypes();
}];
More information about the Mlir-commits
mailing list