[all-commits] [llvm/llvm-project] 5842df: [CostModel][X86] Update SSSE3/AVX1 BSWAP costs

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jan 2 04:07:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5842dfe34d89d9cc664d14f511ecb415d6609237
      https://github.com/llvm/llvm-project/commit/5842dfe34d89d9cc664d14f511ecb415d6609237
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/bswap-latency.ll
    M llvm/test/Analysis/CostModel/X86/bswap.ll

  Log Message:
  -----------
  [CostModel][X86] Update SSSE3/AVX1 BSWAP costs

Drop atom/slm costs from the default bswap costs, and update the avx1 latency costs based off latest codegen.

Based off analysis report from https://github.com/RKSimon/llvm-scripts/check_cost_tables.py

Fixes #62659




More information about the All-commits mailing list