diff --git a/llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst b/llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst --- a/llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst +++ b/llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst @@ -106,13 +106,13 @@ support for optimized code on any architecture. Some of the generalizations may also benefit other issues that have been raised. -The extensions have evolved though collaboration with many individuals and +The extensions have evolved through collaboration with many individuals and active prototyping within the GDB debugger and LLVM compiler. Input has also been very much appreciated from the developers working on the Perforce TotalView HPC Debugger and GCC compiler. The AMDGPU has several features that require additional DWARF functionality in -order to support optimized code. +order to achieve better debugging experience for the optimized code. AMDGPU optimized code may spill vector registers to non-global address space memory, and this spilling may be done only for lanes that are active on entry @@ -147,7 +147,7 @@ the whole vector register, rather than a separate expression for each lane's dword of the vector register. It also allows the compiler to produce DWARF that indexes the vector register if it spills scalar registers into portions -of a vector registers. +of a vector register. Since DWARF stack value entries have a base type and AMDGPU registers are a vector of dwords, the ability to specify that a base type is a vector is