[PATCH] D49650: Targets/AMDGPU: Don't set fp32-denormals feature for r600
Jan Vesely via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 22 12:40:21 PDT 2018
jvesely created this revision.
jvesely added reviewers: arsenm, tstellar.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.
This feature was removed in r335942
Repository:
rC Clang
https://reviews.llvm.org/D49650
Files:
lib/Basic/Targets/AMDGPU.cpp
Index: lib/Basic/Targets/AMDGPU.cpp
===================================================================
--- lib/Basic/Targets/AMDGPU.cpp
+++ lib/Basic/Targets/AMDGPU.cpp
@@ -205,7 +205,7 @@
if (I == "+fp64-fp16-denormals" || I == "-fp64-fp16-denormals")
hasFP64Denormals = true;
}
- if (!hasFP32Denormals)
+ if (!hasFP32Denormals && isAMDGCN(getTriple()))
TargetOpts.Features.push_back(
(Twine(CGOptsGPU.HasFastFMAF && !CGOpts.FlushDenorm
? '+'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49650.156709.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180722/d381ae0c/attachment.bin>
More information about the cfe-commits
mailing list