[all-commits] [llvm/llvm-project] 828a86: [AArch64] Reduce the costs of and/or/xor reduction...

David Green via All-commits all-commits at lists.llvm.org
Wed Jul 16 01:59:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 828a867ee010cdd832c43f7d844959adb4884b2e
      https://github.com/llvm/llvm-project/commit/828a867ee010cdd832c43f7d844959adb4884b2e
  Author: David Green <david.green at arm.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/reduce-and.ll
    M llvm/test/Analysis/CostModel/AArch64/reduce-or.ll
    M llvm/test/Analysis/CostModel/AArch64/reduce-xor.ll
    M llvm/test/Transforms/PhaseOrdering/AArch64/quant_4x4.ll

  Log Message:
  -----------
  [AArch64] Reduce the costs of and/or/xor reductions (#148553)

Since the costs were added the codegen for i8/i16 and/or/xor reductions
has improved. This updates the cost model to produce the same costs in
terms of number of instructions.



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