diff options
author | Jay Foad <jay.foad@amd.com> | 2023-05-16 17:07:44 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2023-06-07 20:59:05 +0100 |
commit | 5aea839ab3edeb58bb0eea833ad9427d0ae7ef67 (patch) | |
tree | a0b17a247831618ba2a890a65ca3f9a4b82c1311 /lldb/source/Commands/CommandObjectScript.cpp | |
parent | b03e6e65e7430e032fca58f0982d1918a0ccba08 (diff) | |
download | llvm-5aea839ab3edeb58bb0eea833ad9427d0ae7ef67.zip llvm-5aea839ab3edeb58bb0eea833ad9427d0ae7ef67.tar.gz llvm-5aea839ab3edeb58bb0eea833ad9427d0ae7ef67.tar.bz2 |
[AMDGPU] Switch to backwards scavenging in eliminateFrameIndex
Frame index elimination runs backwards so we must use backwards
scavenging. Otherwise, when a scavenged register is spilled, the
scavenger will remember that the register is in use until the restore
point, but it will never reach that restore point. The result is that in
some cases it will keep scavenging different registers instead of
reusing the same one.
Differential Revision: https://reviews.llvm.org/D152394
Diffstat (limited to 'lldb/source/Commands/CommandObjectScript.cpp')
0 files changed, 0 insertions, 0 deletions