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