diff options
author | David Green <david.green@arm.com> | 2021-07-30 10:10:41 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-07-30 10:10:41 +0100 |
commit | 4b563067622d5fd58d5d91de8ce256a1bd36129a (patch) | |
tree | cb334f33bebc099b07e9432582a008469c334984 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | ee32cc386cad25a95f9d0682136993289a5c2c63 (diff) | |
download | llvm-4b563067622d5fd58d5d91de8ce256a1bd36129a.zip llvm-4b563067622d5fd58d5d91de8ce256a1bd36129a.tar.gz llvm-4b563067622d5fd58d5d91de8ce256a1bd36129a.tar.bz2 |
[ARM] Turn vecreduce_add(add(x, y)) into vecreduce(x) + vecreduce(y)
Under MVE we can use VADDV/VADDVA's to perform integer add reductions,
so it can be beneficial to use more reductions than summing subvectors
and reducing once. Especially for VMLAV/VMLAVA the mul can be
incorporated into the reduction, producing less instructions.
Some of the test cases currently get larger due to extra integer adds,
but will be improved in a followup patch.
Differential Revision: https://reviews.llvm.org/D106531
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions