diff options
author | Matthias Springer <me@m-sp.org> | 2023-12-06 16:32:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 16:32:22 +0900 |
commit | e8ae0e72b794bc1b879a3a90215a940572306c25 (patch) | |
tree | 14ed9dda9498421078841a4ca0230770632d6b5b /llvm/docs/tutorial | |
parent | c630f95f33e31fe11ec6242560d9bf5d57007673 (diff) | |
download | llvm-e8ae0e72b794bc1b879a3a90215a940572306c25.zip llvm-e8ae0e72b794bc1b879a3a90215a940572306c25.tar.gz llvm-e8ae0e72b794bc1b879a3a90215a940572306c25.tar.bz2 |
[mlir][transform] TrackingListener: Improve dead handles detection (#74290)
The tracking listener should not report op replacement errors for
payload ops that are not mapped to any live handles. The handle liveless
analysis did not work properly with transform IR that has named
sequences.
A handle is live if it has a user after the transform op that is
currently being applied. With named sequences, we need to maintain a
stack of currently applied transform ops. That stack already exists
(`regionStack`), the only thing that's missing is the current transform
op for each stack frame.
This commit fixes #72931.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions