[Mlir-commits] [mlir] 2fe23ff - Adopt Properties to store operations inherent Attributes in the Math dialect
Mehdi Amini
llvmlistbot at llvm.org
Tue May 9 17:31:30 PDT 2023
Author: Mehdi Amini
Date: 2023-05-10T01:31:00+01:00
New Revision: 2fe23ffdd38af84b6c24544f12f357adf39d846e
URL: https://github.com/llvm/llvm-project/commit/2fe23ffdd38af84b6c24544f12f357adf39d846e
DIFF: https://github.com/llvm/llvm-project/commit/2fe23ffdd38af84b6c24544f12f357adf39d846e.diff
LOG: Adopt Properties to store operations inherent Attributes in the Math dialect
This is part of an on-going migration to adopt Properties inside MLIR.
Differential Revision: https://reviews.llvm.org/D148892
Added:
Modified:
mlir/include/mlir/Dialect/Math/IR/MathBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Math/IR/MathBase.td b/mlir/include/mlir/Dialect/Math/IR/MathBase.td
index 0e606bb9b63dd..e3e8bc0d69df8 100644
--- a/mlir/include/mlir/Dialect/Math/IR/MathBase.td
+++ b/mlir/include/mlir/Dialect/Math/IR/MathBase.td
@@ -30,6 +30,7 @@ def Math_Dialect : Dialect {
```
}];
let hasConstantMaterializer = 1;
+ let usePropertiesForAttributes = 1;
let dependentDialects = [
"::mlir::arith::ArithDialect"
];
More information about the Mlir-commits
mailing list