[AMDGPU] Remove redundant isAMDGCN check. NFC.
This commit is contained in:
parent
e21b0dd819
commit
5d4aa87ca5
@ -137,7 +137,7 @@ GCNSubtarget &GCNSubtarget::initializeSubtargetDependencies(const Triple &TT,
|
|||||||
if (LDSBankCount == 0)
|
if (LDSBankCount == 0)
|
||||||
LDSBankCount = 32;
|
LDSBankCount = 32;
|
||||||
|
|
||||||
if (TT.isAMDGCN() && AddressableLocalMemorySize == 0)
|
if (AddressableLocalMemorySize == 0)
|
||||||
AddressableLocalMemorySize = 32768;
|
AddressableLocalMemorySize = 32768;
|
||||||
|
|
||||||
LocalMemorySize = AddressableLocalMemorySize;
|
LocalMemorySize = AddressableLocalMemorySize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user