Commit dc29c973 authored by Quentin Colombet's avatar Quentin Colombet
Browse files

[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
parent 0ca778eb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment