[llvm] [AMDGPU] Add `getLocalMemorySize` and `getAddressableLocalMemorySize` to TargetParser (PR #220718)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 08:49:10 PDT 2026


================
@@ -461,6 +461,24 @@ AMDGPU::getMaxHWAddressableLocalMemorySize(Triple::SubArchType SubArch) {
   return getMaxHWAddressableLocalMemorySize(getGPUKindFromSubArch(SubArch));
 }
 
+unsigned AMDGPU::getLocalMemorySize(GPUKind AK, bool FullSIMDMode) {
----------------
arsenm wrote:

There's no reason to be consistent with IsaInfo, that eventually can be deleted and is fully backend internal 

https://github.com/llvm/llvm-project/pull/220718


More information about the llvm-commits mailing list