[all-commits] [llvm/llvm-project] c10cc4: [AMDGPU] Fix computing live registers in prolog

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Thu Apr 8 06:04:42 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
    M llvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir

  Log Message:
  -----------
  [AMDGPU] Fix computing live registers in prolog

ScratchExecCopy needs to be marked as live, we cannot use that register
while EXEC is stored in there.

Marking SGPRForFPSaveRestoreCopy and SGPRForBPSaveRestoreCopy as
available is unnecessary, they should not be live at that point anway.

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




More information about the All-commits mailing list