[PATCH] D75512: [LoopVectorizer][ARM] Add preferInloopReduction reduction.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 04:11:23 PST 2020
dmgreen created this revision.
Herald added subscribers: llvm-commits, rogfer01, bollu, hiraditya, kristof.beyls.
Herald added a reviewer: rengolin.
Herald added a project: LLVM.
dmgreen added a parent revision: D75069: [LoopVectorizer] Inloop vector reductions.
This allows the backend to tell the vectorizer to produce inloop reductions through a TTI hook.
It is one possible way to go if we do not attempt to cost reductions against one another using VPlan cost modelling. Taken out of D75069 <https://reviews.llvm.org/D75069>.
https://reviews.llvm.org/D75512
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/ARM/mve-reductions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75512.247846.patch
Type: text/x-patch
Size: 39153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200303/4627ce1a/attachment-0001.bin>
More information about the llvm-commits
mailing list