[all-commits] [llvm/llvm-project] 87e345: [mlir] GreedyPatternRewriteDriver: Add new strict ...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jan 20 01:08:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87e345b1bdb76867cc6e9ae59b6dd2633a480d38
https://github.com/llvm/llvm-project/commit/87e345b1bdb76867cc6e9ae59b6dd2633a480d38
Author: Matthias Springer <springerm at google.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
M mlir/lib/Dialect/Affine/TransformOps/AffineTransformOps.cpp
M mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp
M mlir/lib/Dialect/Affine/Transforms/SimplifyAffineStructures.cpp
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
M mlir/test/Transforms/test-strict-pattern-driver.mlir
M mlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[mlir] GreedyPatternRewriteDriver: Add new strict mode option
There are now three options:
* `AnyOp` (previously `false`)
* `ExistingAndNewOps` (previously `true`)
* `ExistingOps`: this one is new.
The last option corresponds to what the `applyOpPatternsAndFold(Operation*, ...)` overload is doing. It is now also supported on the `applyOpPatternsAndFold(ArrayRef<Operation *>, ...)` overload.
Differential Revision: https://reviews.llvm.org/D141904
More information about the All-commits
mailing list