aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-13 16:40:25 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-07-13 16:40:25 +0000
commitde950777804d0fb9ce42190e1fe28e28ec033c2b (patch)
tree4a122ffa5261339ce2e6fa471542c9a38fb76996 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent218b6a2a2ae682f0e2b42a9f76619a382b723430 (diff)
downloadllvm-de950777804d0fb9ce42190e1fe28e28ec033c2b.zip
llvm-de950777804d0fb9ce42190e1fe28e28ec033c2b.tar.gz
llvm-de950777804d0fb9ce42190e1fe28e28ec033c2b.tar.bz2
AMDGPU: Fix handling of alignment padding in DAG argument lowering
This was completely broken if there was ever a struct argument, as this information is thrown away during the argument analysis. The offsets as passed in to LowerFormalArguments are not useful, as they partially depend on the legalized result register type, and they don't consider the alignment in the first place. Ignore the Ins array, and instead figure out from the raw IR type what we need to do. This seems to fix the padding computation if the DAG lowering is forced (and stops breaking arguments following padded arguments if the arguments were only partially lowered in the IR) llvm-svn: 337021
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions