[PATCH] D50376: AMDGPU: Fix enabling denormals by default on pre-VI targets

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 7 02:46:37 PDT 2018


arsenm created this revision.
arsenm added reviewers: b-sumner, kzhuravl.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng.

Fast FMAF is not a sufficient condition to enable denormals.
Before VI, enabling denormals caused https://reviews.llvm.org/F32 instructions to
run at https://reviews.llvm.org/F64 speeds.


https://reviews.llvm.org/D50376

Files:
  lib/Basic/Targets/AMDGPU.cpp
  lib/Basic/Targets/AMDGPU.h
  test/CodeGenOpenCL/denorms-are-zero.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50376.159471.patch
Type: text/x-patch
Size: 15874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180807/cb98022b/attachment-0001.bin>


More information about the cfe-commits mailing list