1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Revert "AMDGPU: Do not test for SI in getIsaVersion"

This reverts commit r307573.

This breaks downstream test.

llvm-svn: 307678
This commit is contained in:
Konstantin Zhuravlyov 2017-07-11 17:57:41 +00:00
parent fdcc998999
commit e415a11353

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))
if (!Features.test(FeatureGCN) || Features.test(FeatureSouthernIslands))
return {0, 0, 0};
return {7, 0, 0};
}