diff options
author | Hans Wennborg <hans@hanshq.net> | 2017-11-15 00:38:13 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2017-11-15 00:38:13 +0000 |
commit | 45cabacd2f6d7d815a50c19409f9d662cd082298 (patch) | |
tree | 957694cc13811d8ce8940c2c99fc55b7779326a6 /llvm/test/CodeGen/AMDGPU/scratch-buffer.ll | |
parent | 2e7be2a65af2ffdd7ce378b54d16b9e3859ff3b5 (diff) | |
download | bcm5719-llvm-45cabacd2f6d7d815a50c19409f9d662cd082298.tar.gz bcm5719-llvm-45cabacd2f6d7d815a50c19409f9d662cd082298.zip |
Revert r318193 "[SLPVectorizer] Failure to beneficially vectorize 'copyable' elements in integer binary ops."
It crashes building sqlite; see reply on the llvm-commits thread.
> [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: 318239
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/scratch-buffer.ll')
0 files changed, 0 insertions, 0 deletions