aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-08-01 09:32:46 -0700
committerCraig Topper <craig.topper@sifive.com>2022-08-01 09:32:46 -0700
commitad8db972b0d5b29ba3e0dc422100f2ca2ac04340 (patch)
tree8d3fcd7f228fc13ed6fe2f17776f21bac9c58586 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
parent71b7c03fd66279730ec713aa89d469003aa69c96 (diff)
downloadllvm-ad8db972b0d5b29ba3e0dc422100f2ca2ac04340.zip
llvm-ad8db972b0d5b29ba3e0dc422100f2ca2ac04340.tar.gz
llvm-ad8db972b0d5b29ba3e0dc422100f2ca2ac04340.tar.bz2
[RISCV] Eagerly delete instructions in MergeBaseOffset.
The only iterator we're holding points to HiLUI and we never delete that so I think it is safe to delete everything else immediately. I want to split detectAndFoldOffset into two phases. First, combine LUI+ADDI with any ADD/ADDI/SHXADD that comes after it. This may open opportunities to fold the ADDI from the LUI+ADDI into a load/store address. So the load/store folding should run as a second phase even if the ADD/ADDI/SHXADD made changes. In order to do this we need to eagerly delete instructions in the first phase so that we don't have dead users of the LUI+ADDI when we start the second phase. Patches to split the phases will come later. Reviewed By: asb, luismarques Differential Revision: https://reviews.llvm.org/D130119
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions