diff options
author | Matthias Springer <me@m-sp.org> | 2023-06-29 16:32:11 +0200 |
---|---|---|
committer | Matthias Springer <me@m-sp.org> | 2023-06-29 16:36:58 +0200 |
commit | 189033e6bede96de0d74e61715fcd1b48d95e247 (patch) | |
tree | fca4c3c3f7b3f935331767d879c9f5937980bbd7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 92b5a3405de9f04cb31fae21138183c417afc42e (diff) | |
download | llvm-189033e6bede96de0d74e61715fcd1b48d95e247.zip llvm-189033e6bede96de0d74e61715fcd1b48d95e247.tar.gz llvm-189033e6bede96de0d74e61715fcd1b48d95e247.tar.bz2 |
[mlir][Transforms][NFC] CSE: Add non-pass entry point
Add an additional entry point so that CSE can be used without a pass. This allows CSE to be used from the Transform dialect without invalidating all handles.
* All IR modifications are done with a rewriter.
* The C++ entry point takes a `RewriterBase &`, which may have a listener attached to it. This allows users to track all IR modifications.
Differential Revision: https://reviews.llvm.org/D145226
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions