aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDinar Temirbulatov <dtemirbulatov@gmail.com>2017-09-15 06:56:39 +0000
committerDinar Temirbulatov <dtemirbulatov@gmail.com>2017-09-15 06:56:39 +0000
commite2358b53bc09d8722533797e58f178e91e51d8b1 (patch)
tree4ffdd04e50914f4da7531a952bd19341cda43a16 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb63a3ab5bfc56e4f9264cd9fe3c0f104be4b547b (diff)
downloadllvm-e2358b53bc09d8722533797e58f178e91e51d8b1.zip
llvm-e2358b53bc09d8722533797e58f178e91e51d8b1.tar.gz
llvm-e2358b53bc09d8722533797e58f178e91e51d8b1.tar.bz2
[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. Reviewers: spatel, mzolotukhin, mkuper, hfinkel, RKSimon, filcab, ABataev, davide Subscribers: llvm-commits, RKSimon Differential Revision: https://reviews.llvm.org/D28907 llvm-svn: 313348
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions