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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 04:38:46 PDT 2026


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

Yes, just expose all of them 

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


More information about the llvm-commits mailing list