summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-09-18 21:34:05 -0700
committerGitHub <noreply@github.com>2024-09-18 21:34:05 -0700
commit80f6b42a26ec7594e6b016c5dde5d57db6c9dfb1 (patch)
treec44da06aa58862237559c1e6ccabd24d151b34ad /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent12d94850cd183cadf37f1f278e5795e84a95e894 (diff)
[MachinePipeliner] Fix incorrect use of getPressureSets. (#109179)
The code was passing a physical register directly to getPressureSets which expects a register unit. Fix this by looping over the register units and calling getPressureSets for each of them. Found while trying to add a RegisterUnit class to stop storing register units in `Register`. 0 is a valid register unit but not a valid Register.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions