[llvm-branch-commits] [llvm] [AMDGPU] Remove remaining BaseInfo duplicates of TargetParser APIs (PR #226744)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 28 00:22:42 PDT 2026


================
@@ -6998,7 +6998,9 @@ bool AMDGPUAsmParser::ParseDirectiveAMDGPULDS() {
   if (getParser().parseComma())
     return true;
 
-  unsigned LocalMemorySize = AMDGPU::IsaInfo::getLocalMemorySize(getSTI());
+  unsigned LocalMemorySize =
+      AMDGPU::getLocalMemorySize(AMDGPU::parseArchAMDGCN(getSTI().getCPU()),
----------------
arsenm wrote:

Random use sites should never need to parse the cpu, especially since the CPU is canonically empty now 

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


More information about the llvm-branch-commits mailing list