[all-commits] [llvm/llvm-project] 476492: [AArch64] Add basic scmp and ucmp costs. (#182180)

David Green via All-commits all-commits at lists.llvm.org
Mon Feb 23 14:39:46 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 476492bd1638eaa1e1a5a845307f25ac966d0fe3
      https://github.com/llvm/llvm-project/commit/476492bd1638eaa1e1a5a845307f25ac966d0fe3
  Author: David Green <david.green at arm.com>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/AArch64/cmp.ll

  Log Message:
  -----------
  [AArch64] Add basic scmp and ucmp costs. (#182180)

This adds basic llvm.scmp and llvm.ucmp costs. Scalars are costed as
cmp+cset+csinv. Neon vectors can use cmgt - cmgt as the vectors write
full vector lanes.



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