[AMDGPU][CostModel] Add f16, f64 and contract cases to fused costs estimation.
authordfukalov <daniil.fukalov@amd.com>
Fri, 31 Jul 2020 00:56:54 +0000 (03:56 +0300)
committerdfukalov <daniil.fukalov@amd.com>
Thu, 6 Aug 2020 18:43:27 +0000 (21:43 +0300)
commit4ccc38813eb76c7984f2700df527c643abeb9a58
tree24dc4cd1c6a530a460575253729455b74212ded5
parente00201539f9c5c540a037add790eb31032aaea8f
[AMDGPU][CostModel] Add f16, f64 and contract cases to fused costs estimation.

Add cases of fused fmul+fadd/fsub with f16 and f64 operands to cost model.
Also added operations with contract attribute.

Fixed line endings in test.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D84995
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
llvm/test/Analysis/CostModel/AMDGPU/fused_costs.ll