[Mlir-commits] [mlir] bdac67a - Adopt Properties to store operations inherent Attributes in the GPU dialect
    Mehdi Amini 
    llvmlistbot at llvm.org
       
    Tue May  9 06:59:54 PDT 2023
    
    
  
Author: Mehdi Amini
Date: 2023-05-09T14:58:43+01:00
New Revision: bdac67a9ae96e4617598865ff1c91671805be24f
URL: https://github.com/llvm/llvm-project/commit/bdac67a9ae96e4617598865ff1c91671805be24f
DIFF: https://github.com/llvm/llvm-project/commit/bdac67a9ae96e4617598865ff1c91671805be24f.diff
LOG: Adopt Properties to store operations inherent Attributes in the GPU dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148889
Added: 
    
Modified: 
    mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
Removed: 
    
################################################################################
diff  --git a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
index a04d8d97afa5c..fffe4a45931ec 100644
--- a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
+++ b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
@@ -57,6 +57,7 @@ def GPU_Dialect : Dialect {
   let dependentDialects = ["arith::ArithDialect"];
   let useDefaultAttributePrinterParser = 1;
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 //===----------------------------------------------------------------------===//
        
    
    
More information about the Mlir-commits
mailing list