[PATCH] D89969: [SLP] Consider alternatives for cost of select instructions.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 10:15:28 PDT 2020


fhahn updated this revision to Diff 300035.
fhahn added a comment.

Use matchSelectPattern instead of manually looking for min/max patterns.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89969

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/AArch64/vectorizable-selects-min-max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89969.300035.patch
Type: text/x-patch
Size: 48768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201022/1057bdf5/attachment.bin>


More information about the llvm-commits mailing list