aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CoverageMappingGen.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-02-02 09:49:58 +0100
committerGitHub <noreply@github.com>2024-02-02 09:49:58 +0100
commita792cb6e3e03aff22dabb6cc94db68d15d953a55 (patch)
treef84102ffeb8b4ff9d98e1fe9ed786aa15ed88e58 /clang/lib/CodeGen/CoverageMappingGen.cpp
parent237a799e938aca86dc7e62def792b26974bbae5d (diff)
downloadllvm-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