summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorVladimir Radosavljevic <129192835+vladimirradosavljevic@users.noreply.github.com>2024-10-23 13:37:02 +0200
committerGitHub <noreply@github.com>2024-10-23 13:37:02 +0200
commit401d123a1fdcbbf4ae7a20178957b7e3a625c044 (patch)
tree177bd4601d5e21a4264cb5884946f252606174f0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc4c60c0db98dc9139d540963470c5dbdd6d45b9f (diff)
[MCP] Optimize copies when src is used during backward propagation (#111130)
Before this patch, redundant COPY couldn't be removed for the following case: ``` $R0 = OP ... ... // Read of %R0 $R1 = COPY killed $R0 ``` This patch adds support for tracking the users of the source register during backward propagation, so that we can remove the redundant COPY in the above case and optimize it to: ``` $R1 = OP ... ... // Replace all uses of %R0 with $R1 ```
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions