[all-commits] [llvm/llvm-project] d32d67: AMDGPU: Improve cost handling of fma/fmuladd
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jul 29 21:43:32 PDT 2024
Branch: refs/heads/users/arsenm/amdgpu-fix-fma-fmuladd-costs
Home: https://github.com/llvm/llvm-project
Commit: d32d67b4978b76b19c843dbe332760de3cfb0b18
https://github.com/llvm/llvm-project/commit/d32d67b4978b76b19c843dbe332760de3cfb0b18
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AMDGPU/fma.ll
M llvm/test/Analysis/CostModel/AMDGPU/fmuladd.ll
Log Message:
-----------
AMDGPU: Improve cost handling of fma/fmuladd
We were overcounting the cost of fast f32 FMA. Also address todo
and handle fmuladd (which I'm just assuming lowers to FMA, the slow FMA
expansion is about as fast on slow targets anyway).
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