[PATCH] D88980: [ARM] Basic getArithmeticReductionCost reduction costs

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 09:54:24 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, simon_tatham, ostannard.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.

This adds some basic costs for MVE reductions - currently just marking the simple legal add vectors as cheap. More complex costing can be added in the future when the framework more readily allows it.


https://reviews.llvm.org/D88980

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.h
  llvm/test/Analysis/CostModel/ARM/mve-vecreduce-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88980.296719.patch
Type: text/x-patch
Size: 32899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201007/4a072aa0/attachment.bin>


More information about the llvm-commits mailing list