[all-commits] [llvm/llvm-project] efc723: [AArch64] Improve getPartialReductionCost for fixe...

David Sherwood via All-commits all-commits at lists.llvm.org
Tue Feb 11 07:11:02 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efc72347fd26e30a3f751348bee6a404cf18237a
      https://github.com/llvm/llvm-project/commit/efc72347fd26e30a3f751348bee6a404cf18237a
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/fully-unrolled-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-epilogue.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll

  Log Message:
  -----------
  [AArch64] Improve getPartialReductionCost for fixed-width VFs (#126538)

NEON does not have a version of udot/sdot that accumulates into
64-bit integer values, so we should return Invalid from
getPartialReductionCost for 64-bit types and fixed-width VFs.
In theory, if the 64-bit versions of SVE udot/sdot are available 
we could use those, but we don't currently have lowering support
for that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list