[all-commits] [llvm/llvm-project] a21cfc: [mlir][IR] Deprecate `match` and `rewrite` functio...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Thu Mar 6 23:43:22 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a21cfca320bddeef120618ceff9563778b5cbd94
https://github.com/llvm/llvm-project/commit/a21cfca320bddeef120618ceff9563778b5cbd94
Author: Matthias Springer <me at m-sp.org>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M mlir/docs/DialectConversion.md
M mlir/docs/PatternRewriter.md
M mlir/docs/Tutorials/QuickstartRewrites.md
M mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
Log Message:
-----------
[mlir][IR] Deprecate `match` and `rewrite` functions (#130031)
Deprecate the `match` and `rewrite` functions. They mainly exist for
historic reasons. This PR also updates all remaining uses of in the MLIR
codebase.
This is addressing a
[comment](https://github.com/llvm/llvm-project/pull/129861#pullrequestreview-2662696084)
on an earlier PR.
Note for LLVM integration: `SplitMatchAndRewrite` will be deleted soon,
update your patterns to use `matchAndRewrite` instead of separate
`match` / `rewrite`.
---------
Co-authored-by: Jakub Kuderski <jakub at nod-labs.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list