[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 15:54:23 PDT 2017


arsenm added inline comments.


================
Comment at: llvm/tools/clang/lib/Basic/Targets.cpp:2114-2116
+  static bool hasFullSpeedFP32Denorms(StringRef GPUName) {
+    return parseAMDGCNName(GPUName) >= GK_GFX9;
+  }
----------------
This is misleading since it was true on VI as well. I think just FMA rate changed


https://reviews.llvm.org/D31482





More information about the cfe-commits mailing list