summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-07-20 08:26:33 -0400
committerMatt Arsenault <arsenm2@gmail.com>2020-08-04 16:55:55 -0400
commitf8fb7835d6a5e2a75d412e1482fc1c039efef1f0 (patch)
tree0c85ae1110e08c76a7c3c2e652780680898c8ead /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parente7af98680ad52ffc6d308ef63667ac6fb4bb16a7 (diff)
GlobalISel: Add utilty for getting function argument live ins
Get the argument register and ensure there's a copy to the virtual register. AMDGPU and AArch64 have similarish code to get the livein value, and I also want to use this in multiple places. This is a bit more aggressive about setting the register class than the original function, but that's probably OK. I think we're missing a few verifier checks for function live ins. I noticed AArch64's calling convention code is not actually adding liveins to functions, only the entry block (which apparently might not matter that much?). There should probably be a verifier check that entry block live ins are also live into the function. We also might need a verifier check that the copy to the livein virtual register is in the entry block.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions