summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-10-17 11:01:29 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-10-17 11:01:29 +0000
commitfda3243fdd9880441af11dd39a3120b3874fd42c (patch)
tree32302defbd4a9591dabeef7c0b73f43991fd46b7 /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
parenta867cca091952436ce2f38f31a4b0818aac98dfa (diff)
downloadbcm5719-llvm-fda3243fdd9880441af11dd39a3120b3874fd42c.tar.gz
bcm5719-llvm-fda3243fdd9880441af11dd39a3120b3874fd42c.zip
[LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop (PR43687)
We can't normally stumble into that assertion because a tautological *conditional* `br` in loop body is required, one that always branches to loop latch. But that should have been always folded to an unconditional branch before we get it. But that is not guaranteed if the pass is run standalone. So let's just promote the assertion into a proper check. Fixes https://bugs.llvm.org/show_bug.cgi?id=43687 llvm-svn: 375100
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud