[all-commits] [llvm/llvm-project] 0de8ff: [AArch64] Reduce the cost of repeated sub-shuffle ...

David Green via All-commits all-commits at lists.llvm.org
Fri May 16 10:50:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0de8ff6d9c7cd661f3938d15d370141174afb60f
      https://github.com/llvm/llvm-project/commit/0de8ff6d9c7cd661f3938d15d370141174afb60f
  Author: David Green <david.green at arm.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/div.ll
    M llvm/test/Analysis/CostModel/AArch64/rem.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-broadcast.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-load.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-store.ll

  Log Message:
  -----------
  [AArch64] Reduce the cost of repeated sub-shuffle (#139331)

Given a larger-than-legal shuffle we will split into multiple sub-parts.
This adds a check to the computed costs of sub-shuffles so that repeated
sequences are not accounted for multiple times. This especially reduces
the cost of broadcasts/splats.



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