diff --git a/mlir/docs/PatternRewriter.md b/mlir/docs/PatternRewriter.md --- a/mlir/docs/PatternRewriter.md +++ b/mlir/docs/PatternRewriter.md @@ -283,7 +283,7 @@ /// Apply the custom driver to `op`. void applyMyPatternDriver(Operation *op, - const RewritePatternSet &patterns) { + const FrozenRewritePatternSet &patterns) { // Initialize the custom PatternRewriter. MyPatternRewriter rewriter(op->getContext());