diff --git a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td --- a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td +++ b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td @@ -24,6 +24,7 @@ let dependentDialects = ["cf::ControlFlowDialect"]; let hasConstantMaterializer = 1; let usePropertiesForAttributes = 1; + let usePropertiesForAttributes = 1; } // Base class for Func dialect ops. diff --git a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td --- a/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td +++ b/mlir/include/mlir/Dialect/GPU/IR/GPUBase.td @@ -57,6 +57,7 @@ let dependentDialects = ["arith::ArithDialect"]; let useDefaultAttributePrinterParser = 1; let useDefaultTypePrinterParser = 1; + let usePropertiesForAttributes = 1; } //===----------------------------------------------------------------------===//