[llvm] [RFC][AMDGPU][Doc] Add documentation about ABI occupancy (PR #224103)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 13:47:43 PDT 2026
================
@@ -21963,6 +22006,7 @@ The following sub-directives may appear inside the block:
``.amdgpu_num_vgpr`` *value* Architectural VGPRs used (u32)
``.amdgpu_num_agpr`` *value* Accumulator VGPRs used (u32)
``.amdgpu_private_segment_size`` *n* Private segment size in bytes (u32)
+ ``.amdgpu_occupancy`` *value* Occupancy used to compile the function (u32)
----------------
shiltian wrote:
Right. I think both you and @yxsamliu are defining what the concept means. So this really depends on whether we really want to be very specific in the “name” of the concept, instead of its actual definition. To me, I find “ABI occupancy” fits better, and we can definitely define it as the “resource bounded occupancy under ABI constraint”.
https://github.com/llvm/llvm-project/pull/224103
More information about the llvm-commits
mailing list