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:
parent
fdcc998999
commit
e415a11353
@ -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};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user