diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-07-10 19:24:05 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-07-10 19:24:05 +0000 |
commit | a46241909a016d137a9864d2b67adc6acb56075c (patch) | |
tree | 57fa73a268bc75cd99d172d710d4eb4dc7cc2a13 | |
parent | 4a4525ba136e243e3f8aefd0da37e5d45d323973 (diff) | |
download | bcm5719-llvm-a46241909a016d137a9864d2b67adc6acb56075c.tar.gz bcm5719-llvm-a46241909a016d137a9864d2b67adc6acb56075c.zip |
AMDGPU: Do not test for SI in getIsaVersion
SI is being tested by isa version in the first two if statements of the function.
llvm-svn: 307573
-rw-r--r-- | llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp index 26515b27bb7..ca7ae3f6a31 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp @@ -142,7 +142,7 @@ IsaVersion getIsaVersion(const FeatureBitset &Features) { if (Features.test(FeatureISAVersion9_0_3)) return {9, 0, 3}; - if (!Features.test(FeatureGCN) || Features.test(FeatureSouthernIslands)) + if (!Features.test(FeatureGCN)) return {0, 0, 0}; return {7, 0, 0}; } |