[Mlir-commits] [mlir] 7122804 - Adopt Properties to store operations inherent Attributes in the AMDGPU dialect

Mehdi Amini llvmlistbot at llvm.org
Mon May 8 08:34:33 PDT 2023


Author: Mehdi Amini
Date: 2023-05-08T08:32:19-07:00
New Revision: 7122804409bc741d5f258881edbaf90053d47bb8

URL: https://github.com/llvm/llvm-project/commit/7122804409bc741d5f258881edbaf90053d47bb8
DIFF: https://github.com/llvm/llvm-project/commit/7122804409bc741d5f258881edbaf90053d47bb8.diff

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

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

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td b/mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
index bec2371a6a705..5607fae575500 100644
--- a/mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
+++ b/mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
@@ -29,6 +29,7 @@ def AMDGPU_Dialect : Dialect {
     "gpu::GPUDialect"
   ];
   let useDefaultAttributePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 //===----------------------------------------------------------------------===//


        


More information about the Mlir-commits mailing list