diff options
| author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-14 15:59:07 +0000 |
|---|---|---|
| committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-14 15:59:07 +0000 |
| commit | eda425edd4df482569c8ca42650d98dbf819a47e (patch) | |
| tree | aa8a7f08418e94be03ccd93be946cdd5eb11fc40 /llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | |
| parent | 346bd6a2082416d1e23cd4483c1a36db2ca6d8cf (diff) | |
| download | bcm5719-llvm-eda425edd4df482569c8ca42650d98dbf819a47e.tar.gz bcm5719-llvm-eda425edd4df482569c8ca42650d98dbf819a47e.zip | |
AMDGPU: Do not emit deprecated notes for code object v3
Differential Revision: https://reviews.llvm.org/D38749
llvm-svn: 315810
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h index 0f725c181b7..52e08e538f7 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h +++ b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h @@ -119,6 +119,7 @@ protected: bool DX10Clamp; bool FlatForGlobal; bool AutoWaitcntBeforeBarrier; + bool CodeObjectV3; bool UnalignedScratchAccess; bool UnalignedBufferAccess; bool HasApertureRegs; @@ -399,6 +400,10 @@ public: return AutoWaitcntBeforeBarrier; } + bool hasCodeObjectV3() const { + return CodeObjectV3; + } + bool hasUnalignedBufferAccess() const { return UnalignedBufferAccess; } |

