[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
Thu Sep 26 13:22:19 PDT 2019


spatel updated this revision to Diff 222018.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:
Make load combining cost calculation a specialization of general arithmetic instruction cost by using optional parameter.


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.222018.patch
Type: text/x-patch
Size: 18503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190926/dd02da01/attachment.bin>


More information about the llvm-commits mailing list