[llvm] [AMDGPU] Change scope of resource usage info symbols (PR #114810)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 20:06:01 PST 2025


================
@@ -357,6 +357,7 @@ bool AMDGPUAsmPrinter::doInitialization(Module &M) {
 }
 
 void AMDGPUAsmPrinter::validateMCResourceInfo(Function &F) {
+  bool isLocal = F.hasLocalLinkage();
----------------
arsenm wrote:

Sink below the early return to where it's used, and capitalize 

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


More information about the llvm-commits mailing list