diff options
| author | Florian Hahn <flo@fhahn.com> | 2022-01-06 21:13:04 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2022-01-09 12:55:41 +0000 |
| commit | 7f1bf68d7dd6e4d7d64e7b6b30055d62db3bbe32 (patch) | |
| tree | 3a428e0e716c98b1f23c18a16c4e65ccbb017b50 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1d21667ce2442b171e2449235123c7ece3277084 (diff) | |
[SCEVExpander] Only check overflow if it is needed.
9345ab3a4550 updated generateOverflowCheck to skip creating checks that
always evaluate to false. This in turn means that we only need to check
for overflows if the result of the multiplication is actually used.
Sink the Or for the overflow check into ComputeEndCheck, so it is only
created when there's an actual check.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
