[all-commits] [llvm/llvm-project] 9d5c63: [mlir][NFC] GreedyPatternRewriteDriver: Merge regi...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jan 27 08:32:18 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d5c63f641c8318808e8e62df0a9290d1072ae41
https://github.com/llvm/llvm-project/commit/9d5c63f641c8318808e8e62df0a9290d1072ae41
Author: Matthias Springer <springerm at google.com>
Date: 2023-01-27 (Fri, 27 Jan 2023)
Changed paths:
M mlir/docs/PatternRewriter.md
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[mlir][NFC] GreedyPatternRewriteDriver: Merge region-based and multi-op-based drivers
Deduplicate large parts of the worklist processing (`GreedyPatternRewriteDriver::processWorklist`).
The new class hierarchy is as follows:
```
GreedyPatternRewriteDriver (abstract)
^
|
-----------------------------------
| |
RegionPatternRewriteDriver MultiOpPatternRewriteDriver
```
Also update the Markdown documentation.
Differential Revision: https://reviews.llvm.org/D141396
More information about the All-commits
mailing list