[Mlir-commits] [mlir] 16a74c3 - Adopt Properties to store operations inherent Attributes in the Tensor dialect

Mehdi Amini llvmlistbot at llvm.org
Wed May 10 16:16:41 PDT 2023


Author: Mehdi Amini
Date: 2023-05-11T00:15:21+01:00
New Revision: 16a74c3595054aad0e72e175b6481b4196545f0a

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td b/mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td
index 1231c0a67bc30..60941027d0f33 100644
--- a/mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td
+++ b/mlir/include/mlir/Dialect/Tensor/IR/TensorBase.td
@@ -47,6 +47,7 @@ def Tensor_Dialect : Dialect {
 
   let hasCanonicalizer = 1;
   let hasConstantMaterializer = 1;
+  let usePropertiesForAttributes = 1;
   let dependentDialects = [
     "affine::AffineDialect",
     "arith::ArithDialect",


        


More information about the Mlir-commits mailing list