diff options
author | David Green <david.green@arm.com> | 2022-02-03 11:05:48 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-02-03 11:05:48 +0000 |
commit | 31373fb88a0a3464013e6ebc5773af27a0603275 (patch) | |
tree | 3ec408daf3c1c03cc2f884b24357c75a007479b4 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | eaef54f21388350ca72d4dadf33728f70566e531 (diff) | |
download | llvm-31373fb88a0a3464013e6ebc5773af27a0603275.zip llvm-31373fb88a0a3464013e6ebc5773af27a0603275.tar.gz llvm-31373fb88a0a3464013e6ebc5773af27a0603275.tar.bz2 |
[AArch64] Reassociate integer extending reductions to pairwise addition.
Given an (integer) vecreduce, we know the order of the inputs does not matter.
We can convert UADDV(add(zext(extract_lo(x)), zext(extract_hi(x)))) into
UADDV(UADDLP(x)). This can also happen through an extra add, where we transform
UADDV(add(y, add(zext(extract_lo(x)), zext(extract_hi(x))))).
This makes sure the same thing happens signed cases too, which requires adding
a new SADDLP node.
Differential Revision: https://reviews.llvm.org/D118107
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions