[llvm] [AMDGPU] Remove duplicate SGPR limit diagnostics from getSIProgramInfo (PR #192232)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 08:59:20 PDT 2026


================
@@ -1103,18 +1100,15 @@ void AMDGPUAsmPrinter::getSIProgramInfo(SIProgramInfo &ProgInfo,
                                    MaxWaves, MFI->getDynamicVGPRBlockSize()))},
                               Ctx);
 
+  // Clamp total SGPRs (including ExtraSGPRs) for correct register block
+  // encoding. The diagnostic is emitted by validateMCResourceInfo() during
+  // doFinalization to avoid duplicate error messages.
----------------
arsenm wrote:

Not really any reason to talk about not emitting the diagnostic here, it's only historical information 

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


More information about the llvm-commits mailing list