aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-02-21 17:28:42 +0100
committerGitHub <noreply@github.com>2024-02-21 17:28:42 +0100
commit3f732c4141e95de829a896c38af11473377dbcd6 (patch)
tree85af571cc56ceb3067f47a7608e213ab070fd41d /llvm/lib/IR/Module.cpp
parent13b0321e978fd95503d5f5471a0cfdcd439a5936 (diff)
downloadllvm-3f732c4141e95de829a896c38af11473377dbcd6.zip
llvm-3f732c4141e95de829a896c38af11473377dbcd6.tar.gz
llvm-3f732c4141e95de829a896c38af11473377dbcd6.tar.bz2
[mlir][Transforms] Fix use-after-free in #82474 (#82504)
When a `ModifyOperationRewrite` is committed, the operation may already have been erased, so `OperationName` must be cached in the rewrite object. Note: This will no longer be needed with #81757, which adds a "cleanup" method to `IRRewrite`.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions