[Mlir-commits] [mlir] [MLIR][Python] Expose the insertion point of pattern rewriter (PR #161001)

Maksim Levental llvmlistbot at llvm.org
Fri Oct 3 21:19:10 PDT 2025


================
@@ -841,6 +841,8 @@ class PyInsertionPoint {
   PyInsertionPoint(const PyBlock &block);
   /// Creates an insertion point positioned before a reference operation.
   PyInsertionPoint(PyOperationBase &beforeOperationBase);
+  /// Creates an insertion point positioned before a reference operation.
+  PyInsertionPoint(PyOperationRef beforeOperationRef);
----------------
makslevental wrote:

fair enough

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


More information about the Mlir-commits mailing list