[all-commits] [llvm/llvm-project] 0a98ef: [ARM] Add some basic Min/Max costs

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 15 07:06:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a98efb049393a579a1e44a68bfa886475ea672c
      https://github.com/llvm/llvm-project/commit/0a98efb049393a579a1e44a68bfa886475ea672c
  Author: David Green <david.green at arm.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/intrinsic-cost-kinds.ll
    M llvm/test/Analysis/CostModel/ARM/mve-minmax.ll

  Log Message:
  -----------
  [ARM] Add some basic Min/Max costs

This adds basic MVE costs for SMIN/SMAX/UMIN/UMAX, as well as MINNUM and
MAXNUM representing fmin and fmax. It tightens up the costs, not using a
ICmp+Select cost.

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




More information about the All-commits mailing list