diff options
author | Rosie Sumpter <rosie.sumpter@arm.com> | 2021-06-15 10:29:27 +0100 |
---|---|---|
committer | Rosie Sumpter <rosie.sumpter@arm.com> | 2021-06-24 12:02:58 +0100 |
commit | 0c4651f0a883443259684aa6de69d26a5bd49e46 (patch) | |
tree | 3a1dec033895983168dcb8a6aafeb8d0789502b5 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | e3ea2d706198c37b1564533676a5f85e4576504a (diff) | |
download | llvm-0c4651f0a883443259684aa6de69d26a5bd49e46.zip llvm-0c4651f0a883443259684aa6de69d26a5bd49e46.tar.gz llvm-0c4651f0a883443259684aa6de69d26a5bd49e46.tar.bz2 |
[CostModel][AArch64] Improve cost model for vector reduction intrinsics
OR, XOR and AND entries are added to the cost table. An extra cost
is added when vector splitting occurs.
This is done to address the issue of a missed SLP vectorization
opportunity due to unreasonably high costs being attributed to the vector
Or reduction (see: https://bugs.llvm.org/show_bug.cgi?id=44593).
Differential Revision: https://reviews.llvm.org/D104538
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions