[PATCH] D87772: [SLP] sort candidates to increase chance of optimal compare reduction

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 10:36:03 PDT 2020


spatel updated this revision to Diff 292267.
spatel added a comment.

Patch updated:
Added a test to show forming a better reduction than we used to create.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87772/new/

https://reviews.llvm.org/D87772

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/compare-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87772.292267.patch
Type: text/x-patch
Size: 7962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/9c70b1bd/attachment.bin>


More information about the llvm-commits mailing list