diff options
author | Matthias Springer <me@m-sp.org> | 2024-02-02 10:06:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 10:06:10 +0100 |
commit | b840d2968391dd610b792a65133a1edc1bcc397c (patch) | |
tree | 545ead57fa23ab7f34ed6307f9f13871a5ab73d8 /llvm/unittests/ProfileData/CoverageMappingTest.cpp | |
parent | c07fcd45f140bb95fb0f1ed10468db2bb6b1a77b (diff) | |
download | llvm-b840d2968391dd610b792a65133a1edc1bcc397c.zip llvm-b840d2968391dd610b792a65133a1edc1bcc397c.tar.gz llvm-b840d2968391dd610b792a65133a1edc1bcc397c.tar.bz2 |
[mlir][IR] Send notifications for `cloneRegionBefore` (#66871)
Similar to `OpBuilder::clone`, operation/block insertion notifications
should be sent when cloning the contents of a region. E.g., this is to
ensure that the newly created operations are put on the worklist of the
greedy pattern rewriter driver.
Also move `cloneRegionBefore` from `RewriterBase` to `OpBuilder`. It
only creates new IR, so it should be part of the builder API (like
`clone(Operation &)`). The function does not have to be virtual. Now
that notifications are properly sent, the override in the dialect
conversion is no longer needed.
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
0 files changed, 0 insertions, 0 deletions