diff options
| author | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-12-01 11:10:47 +0000 |
|---|---|---|
| committer | Dinar Temirbulatov <dtemirbulatov@gmail.com> | 2017-12-01 11:10:47 +0000 |
| commit | 29e86584c63a25d3a9658f4be5ea93468cd347e3 (patch) | |
| tree | 864dd40737da166e0a1094c5274be35edb8fb92d /llvm/docs/XRay.rst | |
| parent | 42b9a603da42b56fa1b45314358de0f733391105 (diff) | |
| download | bcm5719-llvm-29e86584c63a25d3a9658f4be5ea93468cd347e3.tar.gz bcm5719-llvm-29e86584c63a25d3a9658f4be5ea93468cd347e3.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 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: 319531
Diffstat (limited to 'llvm/docs/XRay.rst')
0 files changed, 0 insertions, 0 deletions

