[all-commits] [llvm/llvm-project] 180865: [AArch64] Add FP16 broadcast and transpose costs

David Green via All-commits all-commits at lists.llvm.org
Tue Mar 14 14:25:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 180865a50085a378fa107b965f63cc52d007595e
      https://github.com/llvm/llvm-project/commit/180865a50085a378fa107b965f63cc52d007595e
  Author: David Green <david.green at arm.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/shuffle-load.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-transpose.ll

  Log Message:
  -----------
  [AArch64] Add FP16 broadcast and transpose costs

The FP16 broadcast and transpose can always use the same instructions as are
used for i16 vectors, with or without +fullfp16. This fills in some extra costs
to make sure we get them right.

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




More information about the All-commits mailing list