[PATCH] D45271: [LV] Introduce TTI::getMinimumVF
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 10:53:46 PDT 2018
kparzysz created this revision.
kparzysz added reviewers: hsaito, craig.topper, dcaballe.
The function getMinimumVF(ElemWidth) will return the minimum VF for a vector with elements of size ElemWidth bits. This value will only apply to targets for which TTI::shouldMaximizeVectorBandwidth returns true. The value of 0 indicates that there is no minimum VF.
This is a follow-up to https://reviews.llvm.org/D44735.
Repository:
rL LLVM
https://reviews.llvm.org/D45271
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
lib/Target/Hexagon/HexagonTargetTransformInfo.h
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/Hexagon/lit.local.cfg
test/Transforms/LoopVectorize/Hexagon/minimum-vf.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45271.140993.patch
Type: text/x-patch
Size: 22907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180404/f14e969b/attachment.bin>
More information about the llvm-commits
mailing list