1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00

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
This commit is contained in:
Konstantin Zhuravlyov 2017-07-10 19:24:05 +00:00
parent 8e8d237789
commit c8b8f6c9cc

View File

@ -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};
}