[all-commits] [llvm/llvm-project] 3366d8: [AMDGPU] Save WWM registers in functions

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Fri Apr 23 09:16:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3366d8115366866a3a14de925b37dea637025919
      https://github.com/llvm/llvm-project/commit/3366d8115366866a3a14de925b37dea637025919
  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

Reapply with fixed tests on window.




More information about the All-commits mailing list