diff options
author | Matthias Springer <springerm@google.com> | 2023-01-27 11:09:13 +0100 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2023-01-27 11:23:04 +0100 |
commit | a2b837ab0448869c74cc042155dd454833c60d62 (patch) | |
tree | d4163edb5c7cabe9b1f2cd94858d0eb0aeb0409a /llvm/lib/CodeGen/StackProtector.cpp | |
parent | bf5f63e59fd729efd6dd69318b365293f7ce385d (diff) | |
download | llvm-a2b837ab0448869c74cc042155dd454833c60d62.zip llvm-a2b837ab0448869c74cc042155dd454833c60d62.tar.gz llvm-a2b837ab0448869c74cc042155dd454833c60d62.tar.bz2 |
[mlir] GreedyPatternRewriteDriver: Entry point takes single region
The rewrite driver is typically applied to a single region or all regions of the same op. There is no longer an overload to apply the rewrite driver to a list of regions.
This simplifies the rewrite driver implementation because the scope is now a single region as opposed to a list of regions.
Note: This change is not NFC because `config.maxIterations` and `config.maxNumRewrites` is now counted for each region separately. Furthermore, worklist filtering (`scope`) is now applied to each region separately.
Differential Revision: https://reviews.llvm.org/D142611
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions