Skip to content
Commit 2cbb8c94 authored by Austin Kerbow's avatar Austin Kerbow
Browse files

[AMDGPU] Reuse register during frame index elimination

If there were no free VGPRs we would need two emergency spill slots for register
scavenging during PEI/frame index elimination. Reuse 'ResultReg' for scale
calculation so that only one spill is needed.

Differential Revision: https://reviews.llvm.org/D76387
parent 728b878d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment