[all-commits] [llvm/llvm-project] e259ba: [RISCV] Modernize FP cost model tests. NFC

Luke Lau via All-commits all-commits at lists.llvm.org
Sun Jul 27 20:28:20 PDT 2025


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

  Changed paths:
    M llvm/test/Analysis/CostModel/RISCV/arith-fp.ll

  Log Message:
  -----------
  [RISCV] Modernize FP cost model tests. NFC

* Replace undef -> poison
* Remove overloaded type in intrinsic signature


  Commit: a100f6367205c6a909d68027af6a8675a8091bd9
      https://github.com/llvm/llvm-project/commit/a100f6367205c6a909d68027af6a8675a8091bd9
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M llvm/test/Analysis/CostModel/RISCV/arith-fp.ll

  Log Message:
  -----------
  [RISCV] Add FP cost model tests for no zfhmin/zfbfmin. NFC

Vector costs without zvfhmin/zvfbfmin and zfhmin/zfbfmin are somehow
cheaper than with zvfhmin/zvfbfmin at smaller vector sizes, despite the
fact that the former are scalarized to libcalls. This adds a RUN line to
showcase this, splitting out the bfloat tests into their own functions
so we don't have duplicate lines for the regular float/double costs.


Compare: https://github.com/llvm/llvm-project/compare/1b4db78d2eaa...a100f6367205

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