[all-commits] [llvm/llvm-project] 7f60f1: [AMDGPU] Fix resource usage information for unname...
Janek van Oirschot via All-commits
all-commits at lists.llvm.org
Thu Nov 7 10:25:15 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7f60f1312ae007d645fc96618db1238baea088b9
https://github.com/llvm/llvm-project/commit/7f60f1312ae007d645fc96618db1238baea088b9
Author: Janek van Oirschot <janek.vanoirschot at amd.com>
Date: 2024-11-07 (Thu, 07 Nov 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
A llvm/test/CodeGen/AMDGPU/unnamed-function-resource-info.ll
Log Message:
-----------
[AMDGPU] Fix resource usage information for unnamed functions (#115320)
Resource usage information would try to overwrite unnamed functions if
there are multiple within the same compilation unit. This aims to either
use the `MCSymbol` assigned to the unnamed function (i.e.,
`CurrentFnSym`), or, rematerialize the `MCSymbol` for the unnamed
function.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list