[PATCH] D38693: [SLP] Consider extractelements as shuffles iff they have the same type/parent etc.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 10:24:53 PDT 2017


ABataev created this revision.

We may try to treat set of extractelements as the shuffle wrongly if
they have different parents|types, are used in real gather tree entries
etc. Patch fixes this problem.


https://reviews.llvm.org/D38693

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/blending-shuffle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38693.118232.patch
Type: text/x-patch
Size: 23548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171009/bc583b87/attachment.bin>


More information about the llvm-commits mailing list