[Mlir-commits] [mlir] [MLIR][Python] Add effect and speculatability specifiers for Python-defined ops (PR #216773)
Rolf Morel
llvmlistbot at llvm.org
Sat Aug 22 07:32:19 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
----------------
rolfmorel wrote:
Just curious why this trait gets put in the namespace and the others do not (that's the case, right)?
https://github.com/llvm/llvm-project/pull/216773
More information about the Mlir-commits
mailing list