[Mlir-commits] [mlir] [MLIR][Python] Add effect and speculatability specifiers for Python-defined ops (PR #216773)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Aug 22 07:56:12 PDT 2026
================
@@ -54,6 +54,21 @@ MlirTypeID mlirDynamicOpTraitNoTerminatorGetTypeID() {
return wrap(DynamicOpTraits::NoTerminator::getStaticTypeID());
}
+namespace mlir::DynamicOpTraits {
+
+class RecursiveMemoryEffects
+ : public DynamicOpTraitImpl<OpTrait::HasRecursiveMemoryEffects> {};
+
+} // namespace mlir::DynamicOpTraits
----------------
PragmaTwice wrote:
Others are also defined in this namespace, but not defined here. You can check [here](https://github.com/llvm/llvm-project/blob/90331e058c1c5c5b0bcf335e7c7f5f498a9d64f3/mlir/include/mlir/IR/ExtensibleDialect.h#L408).
https://github.com/llvm/llvm-project/pull/216773
More information about the Mlir-commits
mailing list