diff options
author | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-11-07 21:25:34 +0000 |
---|---|---|
committer | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-11-07 21:25:34 +0000 |
commit | b9a2832874d01d6692117d9b78d1c8aa56dba063 (patch) | |
tree | 965364d571882a4b945e3eb3b1cdce81999982ee /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 40d6663367b7e7c0cc5c3686e18fe75facd30403 (diff) | |
download | bcm5719-llvm-b9a2832874d01d6692117d9b78d1c8aa56dba063.tar.gz bcm5719-llvm-b9a2832874d01d6692117d9b78d1c8aa56dba063.zip |
[SLPVectorizer] Failure to beneficially vectorize 'copyable' elements in integer binary ops.
Patch tries to improve vectorization of the following code:
void add1(int * __restrict dst, const int * __restrict src) {
*dst++ = *src++;
*dst++ = *src++ + 1;
*dst++ = *src++ + 2;
*dst++ = *src++ + 3;
}
Allows to vectorize even if the very first operation is not a binary add, but just a load.
Fixed PR34619 and other issues related to previous commit.
Reviewers: spatel, mzolotukhin, mkuper, hfinkel, RKSimon, filcab, ABataev
Reviewed By: ABataev, RKSimon
Subscribers: llvm-commits, RKSimon
Differential Revision: https://reviews.llvm.org/D28907
llvm-svn: 317618
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions