diff options
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/R600/AMDGPUSubtarget.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUSubtarget.h b/llvm/lib/Target/R600/AMDGPUSubtarget.h index 68634ea883b..abe4a2cec49 100644 --- a/llvm/lib/Target/R600/AMDGPUSubtarget.h +++ b/llvm/lib/Target/R600/AMDGPUSubtarget.h @@ -50,6 +50,8 @@ private: short TexVTXClauseSize; Generation Gen; bool FP64; + bool FP64Denormals; + bool FP32Denormals; bool CaymanISA; bool EnableIRStructurizer; bool EnablePromoteAlloca; @@ -97,6 +99,14 @@ public: return CaymanISA; } + bool hasFP32Denormals() const { + return FP32Denormals; + } + + bool hasFP64Denormals() const { + return FP64Denormals; + } + bool hasBFE() const { return (getGeneration() >= EVERGREEN); } |

