[Mlir-commits] [mlir] [mlir][Python] create MLIRPythonSupport (PR #171775)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Dec 25 18:39:18 PST 2025


================
@@ -425,9 +427,9 @@ void mlir::python::populateRewriteSubmodule(nb::module_ &m) {
           "results.")
       .def(
           "apply_patterns_and_fold_greedily",
-          [](PyOperationBase &op, MlirFrozenRewritePatternSet set) {
+          [](PyOperationBase &op, PyFrozenRewritePatternSet &set) {
----------------
PragmaTwice wrote:

It seems this definition is duplicated with line 414 (above)? Maybe we can just remove it?

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


More information about the Mlir-commits mailing list