[Mlir-commits] [mlir] aed288d - [mlir] Flip Complex & SCF dialects to _Both (NFC)
Jacques Pienaar
llvmlistbot at llvm.org
Wed Dec 15 08:21:50 PST 2021
Author: Jacques Pienaar
Date: 2021-12-15T08:21:38-08:00
New Revision: aed288d6df50c35c0f2d590e0a7305735ed44dd3
URL: https://github.com/llvm/llvm-project/commit/aed288d6df50c35c0f2d590e0a7305735ed44dd3
DIFF: https://github.com/llvm/llvm-project/commit/aed288d6df50c35c0f2d590e0a7305735ed44dd3.diff
LOG: [mlir] Flip Complex & SCF dialects to _Both (NFC)
Following
https://llvm.discourse.group/t/psa-ods-generated-accessors-will-change-to-have-a-get-prefix-update-you-apis/4476
Added:
Modified:
mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
mlir/include/mlir/Dialect/SCF/SCFOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td b/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
index 3d14532f55e3b..9981f69be4df4 100644
--- a/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
+++ b/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
@@ -21,6 +21,7 @@ def Complex_Dialect : Dialect {
let dependentDialects = ["arith::ArithmeticDialect", "StandardOpsDialect"];
let hasConstantMaterializer = 1;
+ let emitAccessorPrefix = kEmitAccessorPrefix_Both;
}
#endif // COMPLEX_BASE
diff --git a/mlir/include/mlir/Dialect/SCF/SCFOps.td b/mlir/include/mlir/Dialect/SCF/SCFOps.td
index 29e36cb977e8a..508d2aaa54642 100644
--- a/mlir/include/mlir/Dialect/SCF/SCFOps.td
+++ b/mlir/include/mlir/Dialect/SCF/SCFOps.td
@@ -21,6 +21,7 @@ def SCF_Dialect : Dialect {
let name = "scf";
let cppNamespace = "::mlir::scf";
let dependentDialects = ["arith::ArithmeticDialect"];
+ let emitAccessorPrefix = kEmitAccessorPrefix_Both;
}
// Base class for SCF dialect ops.
More information about the Mlir-commits
mailing list