HomePhabricator

[AMDGPU] Fix computing live registers in prolog

Authored by sebastian-ne on Apr 8 2021, 5:00 AM.

Description

[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

Details

Committed
sebastian-neApr 8 2021, 5:52 AM
Differential Revision
D100098: [AMDGPU] Fix computing live registers in prolog
Parents
rG6fccfd7cbdca: [InstCombine] add icmp with no-wrap add tests; NFC
Branches
Unknown
Tags
Unknown