aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-04-22 09:12:00 +0200
committerGitHub <noreply@github.com>2025-04-22 09:12:00 +0200
commit2d3bbb6aafbc74ef6fc51286f09def0f0e35fe14 (patch)
treee6d74ae6adc2d17d6b285afbbe9c77d8326ec02e /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent8639b365a5988932973a82ffe5e620a9c8ef9039 (diff)
downloadllvm-2d3bbb6aafbc74ef6fc51286f09def0f0e35fe14.zip
llvm-2d3bbb6aafbc74ef6fc51286f09def0f0e35fe14.tar.gz
llvm-2d3bbb6aafbc74ef6fc51286f09def0f0e35fe14.tar.bz2
[mlir][Transforms] Dialect conversion: Erase materialized constants instead of rollback (#136489)
When illegal (and not legalizable) constant operations are materialized during a dialect conversion as part of op folding, these operations must be deleted again. This used to be implemented via the rollback mechanism. This commit switches the implementation to regular rewriter API usage: simply delete the materialized constants with `eraseOp`. This commit is in preparation of the One-Shot Dialect Conversion refactoring, which will disallow IR rollbacks. This commit also adds a new optional parameter to `OpBuilder::tryFold` to get hold of the materialized constant ops.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions