diff options
author | Matthias Springer <me@m-sp.org> | 2023-09-14 14:59:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 14:59:36 +0200 |
commit | 4f63252d5d0acfc32633a36e18fff469a606e6ce (patch) | |
tree | e2eeb3b79f0c25bd3ab7d2ff4d2c7cada77bfe28 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3c81a0bea2bd9e80a723000ef6c147ae73466540 (diff) | |
download | llvm-4f63252d5d0acfc32633a36e18fff469a606e6ce.zip llvm-4f63252d5d0acfc32633a36e18fff469a606e6ce.tar.gz llvm-4f63252d5d0acfc32633a36e18fff469a606e6ce.tar.bz2 |
[mlir][transform] Fix crash when op is erased during transform.foreach (#66357)
Fixes a crash when an op, that is mapped to handle that a
`transform.foreach` iterates over, was erased (through the
`TrackingRewriter`). Erasing an op removes it from all mappings and
invalidates iterators. This is already taken care of when an op is
iterating over payload ops in its `apply` method, but not when another
transform op is erasing a tracked payload op.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions