[all-commits] [llvm/llvm-project] ed9cb6: [TTI][AArch64] Add basic vector_reduce_fmaximum/ve...

David Green via All-commits all-commits at lists.llvm.org
Tue Jul 4 10:13:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed9cb663765c3f8b5af22dd6a8af1715a20d4626
      https://github.com/llvm/llvm-project/commit/ed9cb663765c3f8b5af22dd6a8af1715a20d4626
  Author: David Green <david.green at arm.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

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

  Log Message:
  -----------
  [TTI][AArch64] Add basic vector_reduce_fmaximum/vector_reduce_fminimum costmodelling

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.

Differential Revision: https://reviews.llvm.org/D153548




More information about the All-commits mailing list