From: Mehdi Amini Date: Fri, 21 Apr 2023 06:28:39 +0000 (-0600) Subject: Adopt Properties to store operations inherent Attributes in the GPU dialect X-Git-Tag: upstream/17.0.6~9011 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdac67a9ae96e4617598865ff1c91671805be24f;p=platform%2Fupstream%2Fllvm.git Adopt Properties to store operations inherent Attributes in the GPU dialect This is part of an on-going migration to adopt Properties inside MLIR. Differential Revision: https://reviews.llvm.org/D148889 --- diff --git a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td index a04d8d9..fffe4a4 100644 --- a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td +++ b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td @@ -57,6 +57,7 @@ def GPU_Dialect : Dialect { let dependentDialects = ["arith::ArithDialect"]; let useDefaultAttributePrinterParser = 1; let useDefaultTypePrinterParser = 1; + let usePropertiesForAttributes = 1; } //===----------------------------------------------------------------------===//