diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2021-10-08 09:09:22 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2021-10-08 10:32:13 +0700 |
commit | 8a959625c433f311233682afa7bfe1c76367700d (patch) | |
tree | 49a59157de3b9402d82fda92270d031e87d63180 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
parent | 5f4c91583ee772a6ce2c4f192e25b07e6075eb00 (diff) | |
download | llvm-8a959625c433f311233682afa7bfe1c76367700d.zip llvm-8a959625c433f311233682afa7bfe1c76367700d.tar.gz llvm-8a959625c433f311233682afa7bfe1c76367700d.tar.bz2 |
[LoopPeel] Peel loops with deoptimizing exits
Added support for peeling loops with "deoptimizing" exits -
such exits that it or any of its children (or any of their
children, etc) either has a @llvm.experimental.deoptimize call
prior to the terminating return instruction of this basic block
or is terminated with unreachable. All blocks in the the
sequence must have a single successor, maybe except for the last
one.
Previously we only checked the exit block for being deoptimizing.
Now we check if the last reachable block from the exit is deoptimizing.
Patch by Dmitry Makogon!
Differential Revision: https://reviews.llvm.org/D110922
Reviewed By: mkazantsev
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions