Adopt Properties to store operations inherent Attributes in the GPU dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:28:39 +0000 (00:28 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 9 May 2023 13:58:43 +0000 (14:58 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

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

mlir/include/mlir/Dialect/GPU/IR/GPUBase.td

index a04d8d9..fffe4a4 100644 (file)
@@ -57,6 +57,7 @@ def GPU_Dialect : Dialect {
   let dependentDialects = ["arith::ArithDialect"];
   let useDefaultAttributePrinterParser = 1;
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 //===----------------------------------------------------------------------===//