[Mlir-commits] [mlir] 643f377 - Adopt Properties to store operations inherent Attributes in the OpenMP dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 06:54:07 PDT 2023
Author: Mehdi Amini
Date: 2023-05-10T14:53:38+01:00
New Revision: 643f3775e54e740ada5e27e7eb1f5d5136ec8358
URL: https://github.com/llvm/llvm-project/commit/643f3775e54e740ada5e27e7eb1f5d5136ec8358
DIFF: https://github.com/llvm/llvm-project/commit/643f3775e54e740ada5e27e7eb1f5d5136ec8358.diff
LOG: Adopt Properties to store operations inherent Attributes in the OpenMP dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148897
Added:
Modified:
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td b/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
index ae6c284eaf6f9..e5ced046eea14 100644
--- a/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+++ b/mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
@@ -28,6 +28,7 @@ def OpenMP_Dialect : Dialect {
let cppNamespace = "::mlir::omp";
let dependentDialects = ["::mlir::LLVM::LLVMDialect"];
let useDefaultAttributePrinterParser = 1;
+ let usePropertiesForAttributes = 1;
}
// OmpCommon requires definition of OpenACC_Dialect.
More information about the Mlir-commits
mailing list