[all-commits] [llvm/llvm-project] ec0c79: [RISCV] Fix bug in [l](lrint|lround) vector-cost (...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Wed Jul 30 11:41:33 PDT 2025


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

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

  Log Message:
  -----------
  [RISCV] Fix bug in [l](lrint|lround) vector-cost (#151298)

Follow up on a review of bd66fd0 ([CostModel/RISCV] Fix costs of vector
[l](lrint|lround)) post-landing to fix a subtle problem with the cost
of vector [l](lrint|lround). We should use source LMUL in the case of
a narrowing op.

Co-authored-by: Luke Lau <luke at igalia.com>



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