diff options
author | Alex Zinenko <zinenko@google.com> | 2021-10-31 09:37:20 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2021-10-31 09:42:15 +0100 |
commit | 24685aaeb7371137e74d8290a3cf9c8ad2d544a9 (patch) | |
tree | 1a94dccccc53c7a68cf9e59029d23b4477db5c95 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 81e8c391fc05f394eb99871a177bfef40903d9c5 (diff) | |
download | llvm-24685aaeb7371137e74d8290a3cf9c8ad2d544a9.zip llvm-24685aaeb7371137e74d8290a3cf9c8ad2d544a9.tar.gz llvm-24685aaeb7371137e74d8290a3cf9c8ad2d544a9.tar.bz2 |
[mlir][python] allow for detaching operations from a block
Provide support for removing an operation from the block that contains it and
moving it back to detached state. This allows for the operation to be moved to
a different block, a common IR manipulation for, e.g., module merging.
Also fix a potential one-past-end iterator dereference in Operation::moveAfter
discovered in the process.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D112700
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions