[PATCH] D39606: [SLP] Fix PR23510: Try to find best possible vectorizable stores.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 10:25:10 PDT 2017


ABataev created this revision.

The analysis of the store sequence goes in straight order - from the
first store to the last. Bu the best opportunity for vectorization will
happen if we're going to use reverse order - from last store to the
first. It may be best because usually users have some initialization
part + further processing and this first initialization may confuse
SLP vectorizer.


https://reviews.llvm.org/D39606

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/stores_vectorize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39606.121511.patch
Type: text/x-patch
Size: 6061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171103/e6d8457d/attachment.bin>


More information about the llvm-commits mailing list