[Mlir-commits] [mlir] 8e39a53 - Adopt Properties to store operations inherent Attributes in the SCF dialect
Mehdi Amini
llvmlistbot at llvm.org
Wed May 10 16:16:35 PDT 2023
Author: Mehdi Amini
Date: 2023-05-11T00:15:20+01:00
New Revision: 8e39a539ae87d22926a40b6d699490806042b206
URL: https://github.com/llvm/llvm-project/commit/8e39a539ae87d22926a40b6d699490806042b206
DIFF: https://github.com/llvm/llvm-project/commit/8e39a539ae87d22926a40b6d699490806042b206.diff
LOG: Adopt Properties to store operations inherent Attributes in the SCF dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148933
Added:
Modified:
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
index 9396aa16f1392..4173245931478 100644
--- a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
@@ -26,6 +26,7 @@ def SCF_Dialect : Dialect {
let name = "scf";
let cppNamespace = "::mlir::scf";
let dependentDialects = ["arith::ArithDialect"];
+ let usePropertiesForAttributes = 1;
}
// Base class for SCF dialect ops.
More information about the Mlir-commits
mailing list