[Mlir-commits] [mlir] [MLIR] Use applyOpPatternsGreedily instead of deprecated applyOpPatternsAndFold in documentation (PR #127379)
Letu Ren
llvmlistbot at llvm.org
Sat Feb 15 23:45:44 PST 2025
https://github.com/FantasqueX created https://github.com/llvm/llvm-project/pull/127379
None
>From 6245b89046f3a78d6736533ad2e51aa72c2c60ea Mon Sep 17 00:00:00 2001
From: Letu Ren <fantasquex at gmail.com>
Date: Sun, 16 Feb 2025 15:44:53 +0800
Subject: [PATCH] [MLIR] Use applyOpPatternsGreedily instead of deprecated
applyOpPatternsAndFold in documentation
---
mlir/docs/PatternRewriter.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/docs/PatternRewriter.md b/mlir/docs/PatternRewriter.md
index d15e7e5a80678..9df4647299010 100644
--- a/mlir/docs/PatternRewriter.md
+++ b/mlir/docs/PatternRewriter.md
@@ -361,7 +361,7 @@ This driver comes in two fashions:
* `applyPatternsGreedily` ("region-based driver") applies patterns to
all ops in a given region or a given container op (but not the container op
itself). I.e., the worklist is initialized with all containing ops.
-* `applyOpPatternsAndFold` ("op-based driver") applies patterns to the
+* `applyOpPatternsGreedily` ("op-based driver") applies patterns to the
provided list of operations. I.e., the worklist is initialized with the
specified list of ops.
More information about the Mlir-commits
mailing list