[llvm] [AMDGPU] Capping max number of registers for indirect calls (PR #199765)
Janek van Oirschot via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 7 21:46:05 PDT 2026
https://github.com/JanekvO commented:
These caps come from the occupancy, right? As in, the occupancy dictates the register's capped limit? If so, do mention/rephrase the title and description a bit s.t. it explicitly mentions that the capped value is the occupancy constrained nr of registers.
Additionally: the title (and tests/considerations) only mentions indirect calls but what about recursive functions? I vaguely recall that recursive functions go into a similar codepath as indirect calls wrt resource usage info (not 100% sure my memory is correct tho, might have to confirm for yourself real quick).
https://github.com/llvm/llvm-project/pull/199765
More information about the llvm-commits
mailing list