summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2025-01-28 13:59:41 +0000
committerGitHub <noreply@github.com>2025-01-28 13:59:41 +0000
commit22687aa97bdae2f0ea0be9baf208247c18d69c06 (patch)
tree9b9f2900ecd71861db521462b905b19b044e7454 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent37b595cb3715fb8c453c0d3981d6c4f4d208d372 (diff)
[CodeGen] Correctly handle non-standard cases in RemoveLoadsIntoFakeUses (#111551)
In the RemoveLoadsIntoFakeUses pass, we try to remove loads that are only used by fake uses, as well as the fake use in question. There are two existing errors with the pass however: it incorrectly examines every operand of each FAKE_USE, when only the first is relevant (extra operands will just be "killed" regs assigned by a previous pass), and it ignores cases where the FAKE_USE register is not an exact match for the loaded register, which is incorrect as regalloc may choose to load a wider value than the FAKE_USE required pre-regalloc. This patch fixes both of these cases.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions