[PATCH] D57779: [SLP] Add support for throttling.
Dinar Temirbulatov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 12 08:00:10 PDT 2020
dtemirbulatov updated this revision to Diff 256852.
dtemirbulatov added a comment.
Rebased, removed limiter to minimal subtree hight of 3 elements after correcting getInsertCost() now those examples look good on benchmarking, added cost base estimations when to avoid throttling: "Tree cost" + "All reducible cost" > -SLPCostThreshold, corrected the error in findSubTree() to sort all positive elements from a tree instead of first n-elements.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57779/new/
https://reviews.llvm.org/D57779
Files:
lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/gather-root.ll
llvm/test/Transforms/SLPVectorizer/X86/powof2div.ll
llvm/test/Transforms/SLPVectorizer/X86/resched.ll
llvm/test/Transforms/SLPVectorizer/X86/slp-throttle.ll
test/Transforms/SLPVectorizer/AArch64/gather-root.ll
test/Transforms/SLPVectorizer/X86/powof2div.ll
test/Transforms/SLPVectorizer/X86/resched.ll
test/Transforms/SLPVectorizer/X86/slp-throttle.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57779.256852.patch
Type: text/x-patch
Size: 94271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/2c87cc20/attachment.bin>
More information about the llvm-commits
mailing list