diff options
author | Matthias Springer <me@m-sp.org> | 2024-02-02 09:49:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 09:49:58 +0100 |
commit | a792cb6e3e03aff22dabb6cc94db68d15d953a55 (patch) | |
tree | f84102ffeb8b4ff9d98e1fe9ed786aa15ed88e58 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 237a799e938aca86dc7e62def792b26974bbae5d (diff) | |
download | llvm-a792cb6e3e03aff22dabb6cc94db68d15d953a55.zip llvm-a792cb6e3e03aff22dabb6cc94db68d15d953a55.tar.gz llvm-a792cb6e3e03aff22dabb6cc94db68d15d953a55.tar.bz2 |
[mlir][IR] Do not trigger `notifyOperationInserted` for unlinked ops (#80278)
This commit changes `OpBuilder::create` and `OpBuilder::createOrFold`
such that `notifyOperationInserted` is no longer triggered if no
insertion point is set. In such a case, an unlinked operation is created
but not inserted, so `notifyOperationInserted` should not be triggered.
Note: Inserting another op into a block that belongs to an unlinked op
(e.g., by the builder of the unlinked op) will trigger a notification.
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions