diff options
author | Quentin Colombet <qcolombet@apple.com> | 2015-09-15 18:19:39 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2015-09-15 18:19:39 +0000 |
commit | dc29c973e5c8e3f1dfb6ea83570e4ee571008ca5 (patch) | |
tree | bd0e541685d6a22ef97bd05d669dc80d964b5d4d /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 0ca778eb2e21e6430ffd3fcc6e7d5a6a629949f2 (diff) | |
download | bcm5719-llvm-dc29c973e5c8e3f1dfb6ea83570e4ee571008ca5.tar.gz bcm5719-llvm-dc29c973e5c8e3f1dfb6ea83570e4ee571008ca5.zip |
[ShrinkWrapping] Fix an infinite loop while looking for restore point.
This may happen when the input program itself contains an infinite loop with no
exit block. In that case, we would fail to find a block post-dominating the loop
such that this block is outside of the loop.
This fixes PR24823.
Working on reducing the test case.
llvm-svn: 247710
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions