[all-commits] [llvm/llvm-project] aa590e: [AArch64] Improve costs for some conversions to fp16.

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 11 02:28:18 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa590e5823c352358fbeefa8bbd47a4b9c7de93f
      https://github.com/llvm/llvm-project/commit/aa590e5823c352358fbeefa8bbd47a4b9c7de93f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/cast.ll

  Log Message:
  -----------
  [AArch64] Improve costs for some conversions to fp16.

Currently the cost model under-estimates the cost of certain
FP16 conversions.

This patch updates getCastInstrCost to return more accurate costs for
the cases improved in c2ed9fd05479.

Reviewed By: dmgreen

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




More information about the All-commits mailing list