[PATCH] D57779: [SLP] Add support for throttling.

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 12:23:45 PDT 2020


dtemirbulatov updated this revision to Diff 254269.
dtemirbulatov added a comment.

Rebased, added the following changes:

- removed TreeState from the proposed change since after fixing getInsertCost I could not observe any regressions.
- reduced default number of cost recalculations to 32 after noticing the new approach to find a subtree works efficiently.
- added support for reductions.


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

https://reviews.llvm.org/D57779

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/powof2div.ll
  llvm/test/Transforms/SLPVectorizer/X86/slp-throttle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57779.254269.patch
Type: text/x-patch
Size: 33315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200401/70c5bf62/attachment-0001.bin>


More information about the llvm-commits mailing list