diff options
| author | Max Kazantsev <mkazantsev@azul.com> | 2023-02-15 17:35:45 +0700 |
|---|---|---|
| committer | Max Kazantsev <mkazantsev@azul.com> | 2023-02-15 17:40:53 +0700 |
| commit | bc173f526c5755d20e584301012b29cc3484b525 (patch) | |
| tree | 666e557a0e0d31b977de618898f99c2c41c78b2d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h | |
| parent | 45ddc157ca7c464ebbea627da0f682b1554e2390 (diff) | |
| download | llvm-bc173f526c5755d20e584301012b29cc3484b525.zip llvm-bc173f526c5755d20e584301012b29cc3484b525.tar.gz llvm-bc173f526c5755d20e584301012b29cc3484b525.tar.bz2 | |
[SimpleLoopUnswitch] Fix overflowing frequencies case
When branch is so hot that sum of its frequencies overflows, we have an assertion
failure when trying to construct BranchProbability. Such cases are not interesting
as candidate for unswitching anyways (their branches are too hot), so reject them.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
