[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
Wed Oct 10 15:43:52 PDT 2018


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

Implemented pair<Value*, Opcode> as the key in all maps/sets.
Fixed issue with incorrect memory dependency that is attached in testcase memory-dep.ll.
Allow Non-alterative operations to be stored in InstScheduleDataMap.
Removed IsNonAlt field out of InstructionsState.


https://reviews.llvm.org/D28907

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/cancel_scheduling.ll
  test/Transforms/SLPVectorizer/X86/memory-dep.ll
  test/Transforms/SLPVectorizer/X86/pr35497.ll
  test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28907.169113.patch
Type: text/x-patch
Size: 124200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181010/403cab29/attachment.bin>


More information about the llvm-commits mailing list