HomePhabricator

[AMDGPU] Mark scavenged SGPR as used

Authored by sebastian-ne on Apr 14 2021, 5:55 AM.

Description

[AMDGPU] Mark scavenged SGPR as used

Otherwise it reuses the same register for storing the stack slot
offset if the stack slot offset is big.

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

Details

Committed
sebastian-neApr 14 2021, 5:55 AM
Differential Revision
D100461: [AMDGPU] Mark scavenged SGPR as used
Parents
rG49193653974a: [ValueTracking] reduce code duplication; NFC
Branches
Unknown
Tags
Unknown