[Mlir-commits] [mlir] [MLIR] Use applyOpPatternsGreedily instead of deprecated applyOpPatternsAndFold in documentation (PR #127379)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Feb 15 23:46:13 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Letu Ren (FantasqueX)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/127379.diff


1 Files Affected:

- (modified) mlir/docs/PatternRewriter.md (+1-1) 


``````````diff
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.
 

``````````

</details>


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


More information about the Mlir-commits mailing list