[PATCH] D93639: [AArch64][SVE]Add cost model for vector reduce for scalable vector
Caroline via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 21 08:07:37 PST 2020
CarolineConcatto created this revision.
Herald added subscribers: NickHung, psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
CarolineConcatto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
It uses MaxVScale to compute the maximum size of the scalable vector,
and assumes vector.reduce.<operand> uses tree-wise reduction algorithm
to compute the cost model.
Depends on D93030 <https://reviews.llvm.org/D93030>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93639
Files:
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-vector-reduce.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93639.313111.patch
Type: text/x-patch
Size: 11345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201221/9bfa9289/attachment.bin>
More information about the llvm-commits
mailing list