summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorsgokhale <sgokhale@nvidia.com>2023-02-28 17:32:39 +0530
committersgokhale <sgokhale@nvidia.com>2023-02-28 17:32:39 +0530
commit4f9a5447c633083e99fd5cb448116fa8e5b1f976 (patch)
tree7d9cfd10f17bdab11491a15cdfdfd6f9a3d5ef02 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent6d2501bf00f662ef05731aa7c59351467aac2a70 (diff)
[LV] Reland "Update logic for calculating register usage due to invariants"
Previously, while calculating register usage due to invariants, it was assumed that invariant would always be part of widening instructions. This resulted in calculating vector register types for vectors which cant be legalized(check the newly added test for more details). An invariant might not always need a vector register. For e.g., invariant might just be used for iteration check. This patch checks if the invariant is part of any widening instruction and considers register usage accordingly. Fixes issue 60493 Differential Revision: https://reviews.llvm.org/D143422
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions