[PATCH] D28907: [SLP] Fix for PR30787: Failure to beneficially vectorize 'copyable' elements in integer binary ops.

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 04:38:40 PDT 2018


dtemirbulatov updated this revision to Diff 140208.
dtemirbulatov added a comment.

Removed internal vector dependency check as incorrect and I added the dependency check in case of partial bundle vectorization with non-alternative operations only at BoUpSLP::vectorizeTree, BoUpSLP::buildTree.


https://reviews.llvm.org/D28907

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/SystemZ/pr34619.ll
  test/Transforms/SLPVectorizer/X86/partail.ll
  test/Transforms/SLPVectorizer/X86/pr35497.ll
  test/Transforms/SLPVectorizer/X86/resched.ll
  test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28907.140208.patch
Type: text/x-patch
Size: 100919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/07a06d50/attachment-0001.bin>


More information about the llvm-commits mailing list