mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
503e66bdc2
Blindly following unique-successors chain appeared to be a bad idea. In a degenerate case when block jumps to itself that goes into endless loop. Discovered this problem when playing with additional changes, managed to reproduce it on existing LoopPredication code. Fix by checking a "visited" set while iterating through unique successors. Reviewed By: skatkov Tags: #llvm Differential Revision: https://reviews.llvm.org/D72908 |
||
---|---|---|
.. | ||
basic_widenable_branch_guards.ll | ||
basic.ll | ||
invariant_load.ll | ||
nested.ll | ||
predicate-exits.ll | ||
profitability.ll | ||
reverse.ll | ||
unswitch-exit-loop.ll | ||
visited.ll | ||
widened.ll |