[all-commits] [llvm/llvm-project] 83fa11: [RISCV] Add cost model for fma (#126076)

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Mon Feb 10 05:11:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 83fa117f76f9c4c82ce0ca914c4eba268c6c2fa2
      https://github.com/llvm/llvm-project/commit/83fa117f76f9c4c82ce0ca914c4eba268c6c2fa2
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

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

  Log Message:
  -----------
  [RISCV] Add cost model for fma (#126076)

This change builds on PR #125683, which added a cost model for fmuladd.

To ensure completeness, this patch extends the cost model to also cover fma, using the same costing approach as fmuladd.

I plan to send a follow-up patch that includes the cost model vp_fma and vp_fmuladd, and their tests.



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