[all-commits] [llvm/llvm-project] 89ec94: [AMDGPU] Insert spill codes for the SGPRs used for...

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Mon Feb 5 05:02:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89ec940b4a8020e1399e019d845be1a2d2217f69
      https://github.com/llvm/llvm-project/commit/89ec940b4a8020e1399e019d845be1a2d2217f69
  Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
    A llvm/test/CodeGen/AMDGPU/spill-sgpr-used-for-exec-copy.mir
    M llvm/test/CodeGen/AMDGPU/whole-wave-register-copy.ll

  Log Message:
  -----------
  [AMDGPU] Insert spill codes for the SGPRs used for EXEC copy (#79428)

The SGPR registers used for preserving EXEC mask while lowering the
whole-wave register spills and copies should be preserved at the prolog
and epilog if they are in the CSR range. It isn't happening when there
is only wwm-copy lowered and there are no wwm-spills. This patch
addresses that problem.




More information about the All-commits mailing list