diff options
author | David Green <david.green@arm.com> | 2018-09-25 10:08:47 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2018-09-25 10:08:47 +0000 |
commit | 9108c2b92155decd107489f2069907b44f234250 (patch) | |
tree | 7d031061b1680b4927cacc21b07c859887c62c37 /lldb/scripts/Python/modify-python-lldb.py | |
parent | 029aa8ec7f52a6dabd3ac3b15e488ebe0148ae2c (diff) | |
download | bcm5719-llvm-9108c2b92155decd107489f2069907b44f234250.tar.gz bcm5719-llvm-9108c2b92155decd107489f2069907b44f234250.zip |
[LoopUnroll] Add check to Latch's terminator in UnrollRuntimeLoopRemainder
In this patch, I'm adding an extra check to the Latch's terminator in llvm::UnrollRuntimeLoopRemainder,
similar to how it is already done in the llvm::UnrollLoop.
The compiler would crash if this function is called with a malformed loop.
Patch by Rodrigo Caetano Rocha!
Differential Revision: https://reviews.llvm.org/D51486
llvm-svn: 342958
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions