diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-06-19 09:44:28 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-06-20 20:58:26 +0200 |
commit | 1ae266f4529fe17c11331f11db74428b879f3737 (patch) | |
tree | 63c85dee26d3f51cca291e5e428ddfaacc8d794a /lldb/source/Interpreter/CommandObject.cpp | |
parent | 558ee5843f9fca0a3349f9ead666d2281b6a1915 (diff) | |
download | llvm-1ae266f4529fe17c11331f11db74428b879f3737.zip llvm-1ae266f4529fe17c11331f11db74428b879f3737.tar.gz llvm-1ae266f4529fe17c11331f11db74428b879f3737.tar.bz2 |
[LoopUnroll] Use smallest exact trip count from any exit
This is a more general alternative/extension to D102635. Rather than
handling the special case of "header exit with non-exiting latch",
this unrolls against the smallest exact trip count from any exit.
The latch exit is no longer treated as priviledged when it comes to
full unrolling.
The motivating case is in full-unroll-one-unpredictable-exit.ll.
Here the header exit is an IV-based exit, while the latch exit is
a data comparison. This kind of loop does not get rotated, because
the latch is already exiting, and loop rotation doesn't try to
distinguish IV-based/analyzable latches.
Differential Revision: https://reviews.llvm.org/D102982
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
0 files changed, 0 insertions, 0 deletions