[PATCH] D67841: [SLP] avoid reduction transform on patterns that the backend can load-combine

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 08:22:07 PDT 2019


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

Patch updated:
Pass in reduction root operands to cost model rather than reduced value.


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

https://reviews.llvm.org/D67841

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67841.222178.patch
Type: text/x-patch
Size: 18717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/2f242e7f/attachment.bin>


More information about the llvm-commits mailing list