[Mlir-commits] [mlir] d2b8c8e - Adopt Properties to store operations inherent Attributes in the PDLInterp dialect

Mehdi Amini llvmlistbot at llvm.org
Wed May 10 06:54:10 PDT 2023


Author: Mehdi Amini
Date: 2023-05-10T14:53:38+01:00
New Revision: d2b8c8eabc93512b9759e29a5484c18a706f4534

URL: https://github.com/llvm/llvm-project/commit/d2b8c8eabc93512b9759e29a5484c18a706f4534
DIFF: https://github.com/llvm/llvm-project/commit/d2b8c8eabc93512b9759e29a5484c18a706f4534.diff

LOG: Adopt Properties to store operations inherent Attributes in the PDLInterp dialect

This is part of an on-going migration to adopt Properties inside MLIR.

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td b/mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
index 47c96ac25bca2..1e520ea61af0a 100644
--- a/mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
+++ b/mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
@@ -38,6 +38,7 @@ def PDLInterp_Dialect : Dialect {
   let name = "pdl_interp";
   let cppNamespace = "::mlir::pdl_interp";
   let dependentDialects = ["pdl::PDLDialect"];
+  let usePropertiesForAttributes = 1;
   let extraClassDeclaration = [{
     /// Returns the name of the function containing the matcher code. This
     /// function is called by the interpreter when matching an operation.


        


More information about the Mlir-commits mailing list