aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-03-22 09:04:01 +0100
committerMatthias Springer <me@m-sp.org>2023-03-22 09:24:47 +0100
commit9297b9f8eeecc5ea6571cf45985ba77bc2960427 (patch)
tree6661e4f4351b0593e9d3187c03ae6c5c7fd03d69 /flang/lib/Frontend/CompilerInvocation.cpp
parent57c128e4c038a2fba0b0fc298712ba675f59203b (diff)
downloadllvm-9297b9f8eeecc5ea6571cf45985ba77bc2960427.zip
llvm-9297b9f8eeecc5ea6571cf45985ba77bc2960427.tar.gz
llvm-9297b9f8eeecc5ea6571cf45985ba77bc2960427.tar.bz2
[mlir][Transforms][NFC] Improve builder/listener API of OperationFolder
The constructor of `OperationFolder` takes a listener. Therefore, the remaining API should not take any builder/rewriters. This could lead to double notifications in case a listener is attached to the builder/rewriter. As an internal cleanup, `OperationFolder` now has an `IRRewriter` instead of a `RewriterBase::Listener`. In most cases, `OperationFolder` no longer has to notify/deal with listeners. This is done by the rewriter. Differential Revision: https://reviews.llvm.org/D146134
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions