Adopt Properties to store operations inherent Attributes in the NVGPU dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:51:14 +0000 (00:51 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 10 May 2023 00:31:00 +0000 (01:31 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

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

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

index e9ac20a..3264537 100644 (file)
@@ -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