diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-09-13 17:37:09 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2016-09-13 17:37:09 +0000 |
commit | d3e85b98be7a8fb68e235bf6ead69b4bc5e50c42 (patch) | |
tree | adc80a5cae70bb1ba3a012db706bd7f6afa62159 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 1f9ddf48a6a000eb382a2e452baccc8e112ef619 (diff) | |
download | bcm5719-llvm-d3e85b98be7a8fb68e235bf6ead69b4bc5e50c42.tar.gz bcm5719-llvm-d3e85b98be7a8fb68e235bf6ead69b4bc5e50c42.zip |
AMDGPU: Fix target options fp32/64-denormals
Fix target options for fp32/64-denormals so that
+fp64-denormals is set if fp64 is supported
-fp32-denormals if fp32 denormals is not supported, or -cl-denorms-are-zero is set
+fp32-denormals if fp32 denormals is supported and -cl-denorms-are-zero is not set
If target feature fp32/64-denormals is explicitly set, they will override default options and options deduced from -cl-denorms-are-zero.
Differential Revision: https://reviews.llvm.org/D24512
llvm-svn: 281357
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions