[all-commits] [llvm/llvm-project] edc38a: [AMDGPU] Add option to pre-allocate SGPR spill VGP...

Carl Ritson via All-commits all-commits at lists.llvm.org
Sun Nov 12 19:21:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edc38a6cbd12a7cfa5d3c4de9767333c442ef2eb
      https://github.com/llvm/llvm-project/commit/edc38a6cbd12a7cfa5d3c4de9767333c442ef2eb
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
    M llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll

  Log Message:
  -----------
  [AMDGPU] Add option to pre-allocate SGPR spill VGPRs (#70626)

SGPR spill VGPRs are WWM registers so allow them to be allocated by
SIPreAllocateWWMRegs pass.
This intentionally prevents spilling of these VGPRs when enabled.




More information about the All-commits mailing list