summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPiotr Sobczak <piotr.sobczak@amd.com>2023-10-26 11:34:33 +0200
committerGitHub <noreply@github.com>2023-10-26 11:34:33 +0200
commitba3d6e0499231c5f425b92cc126116b0e184dbf1 (patch)
tree46986ad33ee566232a66f51692bc0dfcb3b3ee39 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent274ce8895b29e8be047a68629efda2e9d3ad1f01 (diff)
[AMDGPU] Rematerialize scalar loads (#68778)
Extend the list of instructions that can be rematerialized in SIInstrInfo::isReallyTriviallyReMaterializable() to support scalar loads. Try shrinking instructions to remat only the part needed for current context. Add SIInstrInfo::reMaterialize target hook, and handle shrinking of S_LOAD_DWORDX16_IMM to S_LOAD_DWORDX8_IMM as a proof of concept.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions