[Mlir-commits] [mlir] 5b75882 - Adopt Properties to store operations inherent Attributes in the NVGPU dialect

Mehdi Amini llvmlistbot at llvm.org
Tue May 9 17:31:34 PDT 2023


Author: Mehdi Amini
Date: 2023-05-10T01:31:00+01:00
New Revision: 5b758821fd982bb0ad8f9c3a347aea368345adbd

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
index e9ac20a770bc8..3264537424925 100644
--- a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
+++ b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
@@ -36,6 +36,7 @@ def NVGPU_Dialect : Dialect {
   }];
 
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 
   let extraClassDeclaration = [{
     /// Return true if the given MemRefType has an integer address


        


More information about the Mlir-commits mailing list