summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2023-11-08 09:49:07 +0000
committerGitHub <noreply@github.com>2023-11-08 09:49:07 +0000
commitd5f3b3b3b188d17aa8a2227d31e8fd7611d7dfff (patch)
treec88ad97b9014d88cdbdc31ac6aeae37877ae9d9f /lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
parente6a94dca38d77db2678366c55bb7b72cfa312487 (diff)
[RegScavenger] Simplify state tracking for backwards scavenging (#71202)
Track the live register state immediately before, instead of after, MBBI. This makes it simple to track the state at the start or end of a basic block without a separate (and poorly named) Tracking flag. This changes the API of the backward(MachineBasicBlock::iterator I) method, which now recedes to the state just before, instead of just after, *I. Some clients are simplified by this change. There is one small functional change shown in the lit tests where multiple spilled registers all need to be reloaded before the same instruction. The reloads will now be inserted in the opposite order. This should not affect correctness.
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions