[PATCH] D148036: [SLP]Improve reduction cost model for scalars.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 12:16:36 PDT 2023


ABataev updated this revision to Diff 512548.
ABataev added a comment.

Fix the check for number of uses of the reduced values.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148036

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148036.512548.patch
Type: text/x-patch
Size: 10620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/708c3870/attachment.bin>


More information about the llvm-commits mailing list