[all-commits] [llvm/llvm-project] 1c8283: [BasicTTIImpl] Add cost entries for ldexp, [l]lrou...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Mon Jul 7 01:26:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c8283a30c6e87640510f523dfc244bd9d2b991a
      https://github.com/llvm/llvm-project/commit/1c8283a30c6e87640510f523dfc244bd9d2b991a
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/test/Analysis/CostModel/AArch64/ldexp.ll
    M llvm/test/Analysis/CostModel/AMDGPU/ldexp.ll
    M llvm/test/Analysis/CostModel/RISCV/exp.ll

  Log Message:
  -----------
  [BasicTTIImpl] Add cost entries for ldexp, [l]lround (#146373)

The ldexp intrinsic is incorrectly costed as 1, due to a missing entry
in BasicTTIImpl::getTypeBasedIntrinsicCost: fix this. While at it, fix
missing entries for [l]lround, which is costed as 1 anyway, making the
change non-functional.



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