diff options
author | David Green <david.green@arm.com> | 2021-12-10 15:40:58 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2021-12-10 15:40:58 +0000 |
commit | fed3041863eba8de6a5ba15a38be38ca8114faf8 (patch) | |
tree | 3cbd7a215d5be9b8b82aa4d9d5ffdce2955ab07e /llvm/lib/Support/CommandLine.cpp | |
parent | 65bec04295f1f678977151454ce852ba61149ac8 (diff) | |
download | llvm-fed3041863eba8de6a5ba15a38be38ca8114faf8.zip llvm-fed3041863eba8de6a5ba15a38be38ca8114faf8.tar.gz llvm-fed3041863eba8de6a5ba15a38be38ca8114faf8.tar.bz2 |
[LV][ARM] Improve reduction costmodel for mismatching extension types.
Given a MLA reduction from two different types (say i8 and i16), we were
previously failing to find the reduction pattern, often making us chose
the lower vector factor. This improves that by using the largest of the
two extension types, allowing us to use the larger VF as the type of the
reduction.
As per https://godbolt.org/z/KP549EEYM the backend handles this
valiantly, leading to better performance.
Differential Revision: https://reviews.llvm.org/D115432
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions