[all-commits] [llvm/llvm-project] 86b7ce: [CostModel] Remove some negative costs. (#135533)

David Green via All-commits all-commits at lists.llvm.org
Mon Apr 28 13:08:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b7ce949779a6b4809bcc4b73e41abb1f3aabfa
      https://github.com/llvm/llvm-project/commit/86b7ce949779a6b4809bcc4b73e41abb1f3aabfa
  Author: David Green <david.green at arm.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/test/Analysis/CostModel/RISCV/shuffle-interleave.ll

  Log Message:
  -----------
  [CostModel] Remove some negative costs. (#135533)

The cost model in the past returned -1 for unknown costs, but over time
this has largely been removed. This cleans up some of the uses that have
remained. It uses 0/free for the cost of an insert and 1/basic for the
cost of anything that is unknown.



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