[all-commits] [llvm/llvm-project] 91464c: [AMDGPU] Save WWM registers in functions

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Fri Apr 23 07:10:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91464c30bfcf731ccb7f9d6ef6d26e8c1657a6e6
      https://github.com/llvm/llvm-project/commit/91464c30bfcf731ccb7f9d6ef6d26e8c1657a6e6
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2021-04-23 (Fri, 23 Apr 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    A llvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll

  Log Message:
  -----------
  [AMDGPU] Save WWM registers in functions

The values of registers in inactive lanes needs to be saved during
function calls.

Save all registers used for whole wave mode, similar to how it is done
for VGPRs that are used for SGPR spilling.

Differential Revision: https://reviews.llvm.org/D99429




More information about the All-commits mailing list