commit | eda425edd4df482569c8ca42650d98dbf819a47e | [log] [tgz] |
---|---|---|
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | Sat Oct 14 15:59:07 2017 +0000 |
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | Sat Oct 14 15:59:07 2017 +0000 |
tree | aa8a7f08418e94be03ccd93be946cdd5eb11fc40 | |
parent | 346bd6a2082416d1e23cd4483c1a36db2ca6d8cf [diff] [blame] |
AMDGPU: Do not emit deprecated notes for code object v3 Differential Revision: https://reviews.llvm.org/D38749 llvm-svn: 315810
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp index ce9dc4f..018cb5d0 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
@@ -162,6 +162,10 @@ Stream.flush(); } +bool hasCodeObjectV3(const FeatureBitset &Features) { + return Features.test(FeatureCodeObjectV3); +} + unsigned getWavefrontSize(const FeatureBitset &Features) { if (Features.test(FeatureWavefrontSize16)) return 16;