diff options
author | Florian Hahn <flo@fhahn.com> | 2019-11-24 19:24:10 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-11-24 19:37:16 +0000 |
commit | 9a432161c68774e6c717616e3d688142e89bbb42 (patch) | |
tree | 0b616543df091617876f813681b2c8ea7619e9e7 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 6078be698d977196a6bf4bac8e5f1bb7715cda37 (diff) | |
download | bcm5719-llvm-9a432161c68774e6c717616e3d688142e89bbb42.tar.gz bcm5719-llvm-9a432161c68774e6c717616e3d688142e89bbb42.zip |
[LoopInterchange] Adjust assertions when updating successors.
Currently the assertion in updateSuccessor is overly strict in some
cases and overly relaxed in other cases. For branches to the inner and
outer loop preheader it is too strict, because they can either be
unconditional branches or conditional branches with duplicate targets.
Both cases are fine and we can allow updating multiple successors.
On the other hand, we have to at least update one successor. This patch
adds such an assertion.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions