[PATCH] D153548: [TTI][AArch64] Add basic vector_reduce_fmaximum/vector_reduce_fminimum costmodelling

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 07:03:03 PDT 2023


dmgreen created this revision.
dmgreen added reviewers: RKSimon, anna, spatel, nikic.
Herald added subscribers: StephenFan, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This adds some basic handling in TargetTransformInfo to treat vector_reduce_fminimum/vector_reduce_fmaximum similar to vector_reduce_fmax/vector_reduce_fmax, getting better costs via getMinMaxReductionCost.


https://reviews.llvm.org/D153548

Files:
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153548.533588.patch
Type: text/x-patch
Size: 13176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/28de65b2/attachment.bin>


More information about the llvm-commits mailing list