[all-commits] [llvm/llvm-project] bd66fd: [CostModel/RISCV] Fix costs of vector [l](lrint|lr...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue Jul 29 11:22:33 PDT 2025


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/fround.ll

  Log Message:
  -----------
  [CostModel/RISCV] Fix costs of vector [l](lrint|lround) (#146058)

Take the actual instruction cost into account, and don't fallthrough to
code that doesn't apply to [l]lrint. Also strip invalid costs for
[b]f16, as a companion to #146507, and unify it with [l]lround costs as
a companion to #147713.



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