aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2021-09-16 16:03:52 +0100
committerSander de Smalen <sander.desmalen@arm.com>2021-10-01 08:19:47 +0100
commitb62e6f19d71359f2c901c834764191355ad06420 (patch)
tree9288e9b4d5cbd722570c2d09d024ac50954221e8 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parenta149b103ca1ff964c4ed52c6dfac8984631aba11 (diff)
downloadllvm-b62e6f19d71359f2c901c834764191355ad06420.zip
llvm-b62e6f19d71359f2c901c834764191355ad06420.tar.gz
llvm-b62e6f19d71359f2c901c834764191355ad06420.tar.bz2
[SelectionDAG] Handle promotion + widening in getCopyToPartsVector
Some vectors require both widening and promotion for their legalization. This case is not yet handled in getCopyToPartsVector and falls back on scalarizing by default. BBecause scalable vectors can't easily be scalarised, we need to implement this in two separate stages: 1. Widen the vector. 2. Promote the vector. As part of this patch, PromoteIntRes_CONCAT_VECTORS also needed to be made scalable aware. Instead of falling back on scalarizing the vector (fixed-width only), each sub-part of the CONCAT vector is promoted, and the operation is performed on the type with the widest element type, finally truncating the result to the promoted result type. Differential Revision: https://reviews.llvm.org/D110646
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions