[AMDGPU] Remove redundant isAMDGCN check. NFC.

This commit is contained in:
Jay Foad 2025-08-21 14:42:11 +01:00
parent e21b0dd819
commit 5d4aa87ca5

View File

@ -137,7 +137,7 @@ GCNSubtarget &GCNSubtarget::initializeSubtargetDependencies(const Triple &TT,
if (LDSBankCount == 0)
LDSBankCount = 32;
if (TT.isAMDGCN() && AddressableLocalMemorySize == 0)
if (AddressableLocalMemorySize == 0)
AddressableLocalMemorySize = 32768;
LocalMemorySize = AddressableLocalMemorySize;