[llvm-branch-commits] [llvm] [AMDGPU] Add `.amdgpu.info` section for per-function metadata (PR #192384)

Janek van Oirschot via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 16 06:01:44 PDT 2026


JanekvO wrote:

Should probably have some documentation as well (if anything, just yoink what I have so far in terms of AMDGPUUsage.rst change in https://github.com/llvm/llvm-project/pull/188031 and adjust to your needs/format).

There's something to the binary format that really lends itself well to emitting the metadata entries themselves in isolation but it doesn't seem like we're taking advantage of that. Perhaps it's a non-issue and I'm just imagining a case that's unlikely or uncommon. I guess an example of this already happening is AGPRs where they're only used for MI series but always emitted for all arches.

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


More information about the llvm-branch-commits mailing list