summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-07-10 19:24:05 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-07-10 19:24:05 +0000
commita46241909a016d137a9864d2b67adc6acb56075c (patch)
tree57fa73a268bc75cd99d172d710d4eb4dc7cc2a13
parent4a4525ba136e243e3f8aefd0da37e5d45d323973 (diff)
downloadbcm5719-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.cpp2
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};
}
OpenPOWER on IntegriCloud