diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2017-12-04 22:57:29 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2017-12-04 22:57:29 +0000 |
| commit | d1c9b61e2be5f00cf84bbf4a5c9fed5c21cce2f2 (patch) | |
| tree | 3907a458ee100aa09051c3bb049bcf059f2db548 /llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | |
| parent | 4a8d15198644a5e01498c77e9c48d9b3c4e44009 (diff) | |
| download | bcm5719-llvm-d1c9b61e2be5f00cf84bbf4a5c9fed5c21cce2f2.tar.gz bcm5719-llvm-d1c9b61e2be5f00cf84bbf4a5c9fed5c21cce2f2.zip | |
AMDGPU: Disable fp64 support on pre GCN asics
It's not implemented.
Passing +fp64-fp16-denormal feature enables fp64 even on asics that don't support it
v2: fix hasFP64 query
Differential Revision: https://reviews.llvm.org/D39931
llvm-svn: 319709
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h index c1518dd3d4c..99d0e191dd7 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h +++ b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h @@ -261,7 +261,7 @@ public: return HasVOP3PInsts; } - bool hasHWFP64() const { + bool hasFP64() const { return FP64; } |

