diff options
| author | Max Kazantsev <mkazantsev@azul.com> | 2022-12-09 17:05:33 +0700 |
|---|---|---|
| committer | Max Kazantsev <mkazantsev@azul.com> | 2022-12-09 17:06:29 +0700 |
| commit | 262f2fed65b83ba9b64227b983d5ed95883fd71e (patch) | |
| tree | b50e729e6a1e709b7b40df5be066ddc3ebf034ce /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 412a139d1f8d06d0d0fe4fa1c8fc66f51154c3f1 (diff) | |
[IndVars] Use symbolic max block exit count to handle the last iter
Old logic: when loop symbolic max exit count matched *exact* block exit count,
assume that all subsequent blocks will do 1 iteration less.
New logic: when loop symbolic max exit count matched *symbolic max* block exit count,
assume that all subsequent blocks will do 1 iteration less.
The new logic is still legal and is more permissive in situations when exact
block exit count is not known.
Differential Revision: https://reviews.llvm.org/D139692
Reviewed By: nikic
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
