[all-commits] [llvm/llvm-project] b9622e: [TTI][AArch64] Detect OperandInfo from scalable sp...

David Green via All-commits all-commits at lists.llvm.org
Fri Feb 21 02:42:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9622e84b48117ac4b11ec7dc98bfc119c23eece
      https://github.com/llvm/llvm-project/commit/b9622e84b48117ac4b11ec7dc98bfc119c23eece
  Author: David Green <david.green at arm.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/sve-div.ll
    M llvm/test/Analysis/CostModel/AArch64/sve-rem.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll

  Log Message:
  -----------
  [TTI][AArch64] Detect OperandInfo from scalable splats. (#122469)

Pulled out of #122236, this allows Splats constants to be recognized by
getOperandInfo, allowing "better" costs for instructions like divides by
constants to be produced (which are expanded into mul+add+shift). Some
of the costs are not very accurate yet, but the comparison of scalar vs
fixed-width vs scalable for the same div can become more accurate,
especially with patches like #122236.



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