[PATCH] D41786: [SLP] Fix PR35628: Count external uses on extra reduction arguments.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 14:09:56 PST 2018


ABataev created this revision.
ABataev added reviewers: mkuper, hfinkel, RKSimon, spatel.

If the vectorized value is marked as extra reduction argument, its users
are not considered as external users. Patch fixes this.


https://reviews.llvm.org/D41786

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/PR35628_1.ll
  test/Transforms/SLPVectorizer/X86/PR35628_2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41786.128796.patch
Type: text/x-patch
Size: 7622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180105/93586356/attachment.bin>


More information about the llvm-commits mailing list