diff options
author | David Green <david.green@arm.com> | 2022-04-27 13:51:50 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-04-27 13:51:50 +0100 |
commit | 8e2a0e61f53887c98219cf8e8057f53bf507cd9b (patch) | |
tree | df03960a290bd03f45d25436d76170414cb576b9 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | d42f222f9d6f01afe99d0d597c98b36eb205c5ec (diff) | |
download | llvm-8e2a0e61f53887c98219cf8e8057f53bf507cd9b.zip llvm-8e2a0e61f53887c98219cf8e8057f53bf507cd9b.tar.gz llvm-8e2a0e61f53887c98219cf8e8057f53bf507cd9b.tar.bz2 |
[AArch64] Break up larger shuffle-masks into legal sizes in getShuffleCost
Given a larger-than-legal shuffle mask, the final codegen will split
into multiple sub-vectors. This attempts to model that in
AArch64TTIImpl::getShuffleCost, splitting masks up according to the size
of the legalized vectors. If the sub-masks have at most 2 input sources
we can call getShuffleCost on them and sum the costs, to get a more
accurate final cost for the entire shuffle. The call to
improveShuffleKindFromMask helps to improve the shuffle kind for the
sub-mask cost call.
Differential Revision: https://reviews.llvm.org/D123414
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions