[all-commits] [llvm/llvm-project] 23fe1f: [TTI][X86] getGSScalarCost - don't bother with add...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 11 05:38:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23fe1fc6b78b7643a801ce3eb53d14b47b1dd0ff
      https://github.com/llvm/llvm-project/commit/23fe1fc6b78b7643a801ce3eb53d14b47b1dd0ff
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-11 (Sat, 11 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
    M llvm/test/Analysis/CostModel/X86/masked-gather-i32-with-i8-index.ll
    M llvm/test/Analysis/CostModel/X86/masked-gather-i64-with-i8-index.ll
    M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
    M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll

  Log Message:
  -----------
  [TTI][X86] getGSScalarCost - don't bother with adding cost of ICMP for each i1 mask element

These can nearly always be folded into the existing cost of the branch, and brings the throughput costs of the scalarised gather/scatter code much closer to the llvm-mca/uica estimates



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