[PATCH] D31482: [AMDGPU][GFX9] Set +fp32-denormals for >=gfx900 unless -cl-denorms-are-zero is set
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 29 17:57:35 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Basic/Targets.cpp:2114
+ static bool hasFullSpeedFMA(StringRef GPUName) {
+ return parseAMDGCNName(GPUName) >= GK_GFX9;
----------------
arsenm wrote:
> FMAF32?
Actually this also needs to specify full speed FMA with denorms. Full rate FMA is already a subtarget feature when denorms are disabled
https://reviews.llvm.org/D31482
More information about the cfe-commits
mailing list