[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
Tue Nov 7 11:28:21 PST 2017


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

Update to the criteria to "(SameOrAlt <= VL.size() / 2) return;". I already tested that solution before.


https://reviews.llvm.org/D28907

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28907.121942.patch
Type: text/x-patch
Size: 66865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171107/d9385e2f/attachment-0001.bin>


More information about the llvm-commits mailing list