[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:20 PDT 2026


================
@@ -1079,6 +1140,16 @@ class NoPureOp(TestPure.Operation, name="no_pure"):
         # CHECK: }
         print(module)
 
+        pure_memory_iface = ir.MemoryEffectsOpInterface(p1)
+        pure_spec_iface = ir.ConditionallySpeculatable(p1)
----------------
rolfmorel wrote:

Similar to above: `Interface` suffix versus no suffix.

https://github.com/llvm/llvm-project/pull/216773


More information about the Mlir-commits mailing list