[PATCH] D105730: [SLP] match logical and/or as reduction candidates

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 07:16:01 PDT 2021


spatel updated this revision to Diff 357938.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:

1. Added SLP-only test ("clamp") to show enhancement opportunity.
2. Rebased after D105392 <https://reviews.llvm.org/D105392> (freeze is now hoisted higher in the PhaseOrdering tests).


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

https://reviews.llvm.org/D105730

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
  llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105730.357938.patch
Type: text/x-patch
Size: 36312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210712/da850655/attachment.bin>


More information about the llvm-commits mailing list