diff options
| author | Matthias Springer <me@m-sp.org> | 2024-02-28 14:26:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-28 14:26:02 +0100 |
| commit | 926a19bf0b7ea0aa34f2685534b5f4a339f8b409 (patch) | |
| tree | 5a3f8feeafb3ac28e3e14019117d442d5d98ad16 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 0e42289236d44408e50a710dace629ebad2812b6 (diff) | |
[mlir][Transforms][NFC] Remove `SplitBlockRewrite` (#82777)
When splitting a block during a dialect conversion, a
`SplitBlockRewrite` object is stored in the dialect conversion state.
This commit removes `SplitBlockRewrite`. Instead, a combination of
`CreateBlockRewrite` and multiple `MoveOperationRewrite` is used.
This change simplifies the internal state of the dialect conversion and
is also needed to properly support listeners.
`RewriteBase::splitBlock` is now no longer virtual. All necessary
information for committing/rolling back a split block rewrite can be
deduced from `Listener::notifyBlockInserted` and
`Listener::notifyOperationInserted` (which is also called when moving an
operation).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
