diff options
author | Philip Reames <listmail@philipreames.com> | 2019-07-12 17:05:35 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-07-12 17:05:35 +0000 |
commit | 34495b553383a0716449eed104aa5b8b6f07a759 (patch) | |
tree | cb5c6679eac3b54f171614417e00eafcb455378f /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/main.c | |
parent | 352f0a22b8e830b34cc613ad432d7d2d03a24eeb (diff) | |
download | bcm5719-llvm-34495b553383a0716449eed104aa5b8b6f07a759.tar.gz bcm5719-llvm-34495b553383a0716449eed104aa5b8b6f07a759.zip |
[IndVars] Use exit count reasoning to discharge obviously untaken exits
Continue in the spirit of D63618, and use exit count reasoning to prove away loop exits which can not be taken since the backedge taken count of the loop as a whole is provably less than the minimal BE count required to take this particular loop exit.
As demonstrated in the newly added tests, this triggers in a number of cases where IndVars was previously unable to discharge obviously redundant exit tests. And some not so obvious ones.
Differential Revision: https://reviews.llvm.org/D63733
llvm-svn: 365920
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/main.c')
0 files changed, 0 insertions, 0 deletions