[all-commits] [llvm/llvm-project] 20becf: [TTI] Move vp.{select, merge} costing from RISCV to...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Jul 9 23:31:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20becf373edcf9d568f8904c2b473e6b48500787
      https://github.com/llvm/llvm-project/commit/20becf373edcf9d568f8904c2b473e6b48500787
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp

  Log Message:
  -----------
  [TTI] Move vp.{select,merge} costing from RISCV to BasicTTIImpl. NFC (#147870)

Move the costing to the generic implementation in BasicTTIImpl since it
just falls back to the non-vp costing.

Also pass through the OperandValueInfo if using value based costing, but
I don't believe this affects the result for any in-tree target
currently.



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