[PATCH] D80773: [SLP] Apply external to vectorizable tree users cost adjustment for relevant aggregate build instructions only (UserCost).
Valeriy Dmitriev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 18:43:39 PDT 2020
vdmitrie created this revision.
vdmitrie added reviewers: spatel, RKSimon, anton-afanasyev, ABataev, vporpo, craig.topper, dtemirbulatov.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Users are detected with findBuildAggregate routine and the trick is that following SLP vectorization may end up vectorizing entire list
with smaller chunks. Cost adjustment then is applied for individual chunks and these adjustments obviously have to be smaller than the
entire aggregate build cost.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80773
Files:
llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-fp.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll
llvm/test/Transforms/SLPVectorizer/X86/hadd.ll
llvm/test/Transforms/SLPVectorizer/X86/hsub.ll
llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80773.267106.patch
Type: text/x-patch
Size: 34972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200529/32bafffb/attachment.bin>
More information about the llvm-commits
mailing list