[all-commits] [llvm/llvm-project] 763db3: [TTI] Handle experimental.vp.reverse in BasicTTIIm...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jul 10 07:10:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 763db3841dba8f88f95e63e718dffea64b32044a
      https://github.com/llvm/llvm-project/commit/763db3841dba8f88f95e63e718dffea64b32044a
  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/test/Analysis/CostModel/RISCV/vp-intrinsics.ll

  Log Message:
  -----------
  [TTI] Handle experimental.vp.reverse in BasicTTIImpl (#147868)

A experimental_vp_reverse isn't exactly functionally the same as
vector_reverse, so previously it wasn't getting picked up by the generic
VP costing code that reuses the non-VP equivalents.

But for costing purposes it's good enough so we can reuse it.

The type-based cost for vector_reverse is still incorrect and should be
fixed in another patch.



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