[all-commits] [llvm/llvm-project] d4a7ca: [mlir][doc] Fix usage of PatternApplicator.
Ingo Müller via All-commits
all-commits at lists.llvm.org
Thu Jul 14 02:08:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4a7ca81feb42f3baa23506587abe3892f603c7a
https://github.com/llvm/llvm-project/commit/d4a7ca81feb42f3baa23506587abe3892f603c7a
Author: Ingo Müller <ingomueller at google.com>
Date: 2022-07-14 (Thu, 14 Jul 2022)
Changed paths:
M mlir/docs/PatternRewriter.md
Log Message:
-----------
[mlir][doc] Fix usage of PatternApplicator.
The constructor of PatternApplicator doesn't have a constructor that
accepts only a `RewritePatternSet` as currently used in the example
code in PatternRewriter.md. Instead, one has to turn it into a
`FrozenRewritePatternSet`.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D125236
More information about the All-commits
mailing list