llvm-project
e78be316 - [RISCV] Added cost model for fmuladd (#125683)

Commit
236 days ago
[RISCV] Added cost model for fmuladd (#125683) This patch updates the cost model for fmuladd on vector types to scale with LMUL. This was found when analyzing a hot loop in 519.lbm_r that was unprofitably vectorized, but doesn't directly impact that case and is split off so it doesn't get forgotten. Unlike other FP arithmetic ops, it's not scaled by 2 because the scalar cost isn't scaled by 2.
Parents
Loading