[Mlir-commits] [mlir] [MLIR][Python] Support Python-defined passes in MLIR (PR #156000)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 1 07:59:55 PDT 2025
================
@@ -301,6 +301,10 @@ mlirFreezeRewritePattern(MlirRewritePatternSet op);
MLIR_CAPI_EXPORTED void
mlirFrozenRewritePatternSetDestroy(MlirFrozenRewritePatternSet op);
+MLIR_CAPI_EXPORTED MlirLogicalResult mlirApplyPatternsAndFoldGreedilyForOp(
+ MlirOperation op, MlirFrozenRewritePatternSet patterns,
+ MlirGreedyRewriteDriverConfig);
----------------
joker-eph wrote:
Can you please extract this change in an independent PR? This is largely unrelated (your test python pass could just do another kind of rewrite right now).
https://github.com/llvm/llvm-project/pull/156000
More information about the Mlir-commits
mailing list