[Mlir-commits] [mlir] d78c515 - Adopt Properties to store operations inherent Attributes in the SPIRV dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 16:16:39 PDT 2023
Author: Mehdi Amini
Date: 2023-05-11T00:15:20+01:00
New Revision: d78c515f5a7354cf9b55ddfd40f866b7ed151beb
URL: https://github.com/llvm/llvm-project/commit/d78c515f5a7354cf9b55ddfd40f866b7ed151beb
DIFF: https://github.com/llvm/llvm-project/commit/d78c515f5a7354cf9b55ddfd40f866b7ed151beb.diff
LOG: Adopt Properties to store operations inherent Attributes in the SPIRV dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148936
Added:
Modified:
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
index 43c6c3edecf44..58c7c2ab985ee 100644
--- a/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
+++ b/mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
@@ -52,6 +52,7 @@ def SPIRV_Dialect : Dialect {
let hasOperationAttrVerify = 1;
let hasRegionArgAttrVerify = 1;
let hasRegionResultAttrVerify = 1;
+ let usePropertiesForAttributes = 1;
let extraClassDeclaration = [{
void registerAttributes();
More information about the Mlir-commits
mailing list