diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst --- a/llvm/docs/AMDGPUUsage.rst +++ b/llvm/docs/AMDGPUUsage.rst @@ -8254,9 +8254,13 @@ VGPR232-239 VGPR248-255 - *Except the argument registers, the VGPR clobbered and the preserved - registers are intermixed at regular intervals in order to - get a better occupancy.* + .. note:: + + Except the argument registers, the VGPRs clobbered and the preserved + registers are intermixed at regular intervals in order to keep a + similar ratio independent of the amount of allocated VGPRs. + + * Lanes of all VGPRs that are inactive at the call site. For the AMDGPU backend, an inter-procedural register allocation (IPRA) optimization may mark some of clobbered SGPR and VGPR registers as