[Mlir-commits] [mlir] 23b9523 - Adopt Properties to store operations inherent Attributes in the OpenACC dialect

Mehdi Amini llvmlistbot at llvm.org
Wed May 10 06:54:06 PDT 2023


Author: Mehdi Amini
Date: 2023-05-10T14:53:38+01:00
New Revision: 23b952304632fe542a3666d980a23f4e0920af45

URL: https://github.com/llvm/llvm-project/commit/23b952304632fe542a3666d980a23f4e0920af45
DIFF: https://github.com/llvm/llvm-project/commit/23b952304632fe542a3666d980a23f4e0920af45.diff

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/OpenACC/OpenACCBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/OpenACC/OpenACCBase.td b/mlir/include/mlir/Dialect/OpenACC/OpenACCBase.td
index 7bbe2cce56fb1..06c9151a9b3a7 100644
--- a/mlir/include/mlir/Dialect/OpenACC/OpenACCBase.td
+++ b/mlir/include/mlir/Dialect/OpenACC/OpenACCBase.td
@@ -26,6 +26,7 @@ def OpenACC_Dialect : Dialect {
 
   let useDefaultAttributePrinterParser = 1;
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
   let cppNamespace = "::mlir::acc";
   let dependentDialects = ["::mlir::memref::MemRefDialect","::mlir::LLVM::LLVMDialect"];
 }


        


More information about the Mlir-commits mailing list