[all-commits] [llvm/llvm-project] afdb2e: [ARM] Adjust default fp extend and trunc costs

David Green via All-commits all-commits at lists.llvm.org
Mon Jul 6 06:23:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: afdb2ef2ed9debd419a29b78c23e4b84ce67ab0c
      https://github.com/llvm/llvm-project/commit/afdb2ef2ed9debd419a29b78c23e4b84ce67ab0c
  Author: David Green <david.green at arm.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/cast.ll
    M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll

  Log Message:
  -----------
  [ARM] Adjust default fp extend and trunc costs

This adds some default costs for fp extends and truncates, generally
costing them as 1 per lane. If the type is not legal then the cost will
include a call to an __aeabi_ function.

Some NEON code is also adjusted to make sure it applies to the expected
types, now that fp16 is a more common thing.

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




More information about the All-commits mailing list