[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 Oct 3 03:17:18 PDT 2017


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

Update with solution for the last commit issues with that looks more appropriate to me with just avoiding any vectors like [ operand, operand, op, operand] or [load, load, op, load] in a scheduling bundle, with this solution I have not noticed any bitcode regressions(efficiency) with provided testcase pr34619.ll. I have checked all list of issues from the previous build with this change.


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.117489.patch
Type: text/x-patch
Size: 79726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171003/c4de0cc0/attachment.bin>


More information about the llvm-commits mailing list