[PATCH] D30262: [SLP] Fix for PR32036: Vectorized horizontal reduction returning wrong result

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 10:29:24 PST 2017


ABataev created this revision.

If the same value is used several times as an extra value, SLP
vectorizer takes it into account only once instead of actual number of
using.


https://reviews.llvm.org/D30262

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/horizontal-list.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30262.89378.patch
Type: text/x-patch
Size: 6441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170222/8f8d2f3b/attachment.bin>


More information about the llvm-commits mailing list