[PATCH] D115385: [CostModel][AMDGPU] Fix intrinsics costs estimations.
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 8 13:31:43 PST 2021
rampitec added inline comments.
================
Comment at: llvm/test/Analysis/CostModel/AMDGPU/fma.ll:85
+; NOPACKEDF32-LABEL: 'fma_f64'
+; NOPACKEDF32-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %f64 = call double @llvm.fma.f64(double undef, double undef, double undef) #2
+; NOPACKEDF32-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v2f64 = call <2 x double> @llvm.fma.v2f64(<2 x double> undef, <2 x double> undef, <2 x double> undef) #2
----------------
That has nothing to do with packed f32. It is just because f64 is full rate on this target.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115385/new/
https://reviews.llvm.org/D115385
More information about the llvm-commits
mailing list