Skip to content

Commit 5d4aa87

Browse files
committed
[AMDGPU] Remove redundant isAMDGCN check. NFC.
1 parent e21b0dd commit 5d4aa87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/GCNSubtarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ GCNSubtarget &GCNSubtarget::initializeSubtargetDependencies(const Triple &TT,
137137
if (LDSBankCount == 0)
138138
LDSBankCount = 32;
139139

140-
if (TT.isAMDGCN() && AddressableLocalMemorySize == 0)
140+
if (AddressableLocalMemorySize == 0)
141141
AddressableLocalMemorySize = 32768;
142142

143143
LocalMemorySize = AddressableLocalMemorySize;

0 commit comments

Comments
 (0)