mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
09052af6c2
Function `DeleteDeadBlock` requires that all predecessors of a block being deleted have already been deleted, with the exception of a single-block loop. When we use it for removal of dead subloops that contain more than one block, we may not fulfull this requirement and fail an assertion. This patch replaces invocation of `DeleteDeadBlock` with a generalized version `DeleteDeadBlocks` that is able to deal with multiple dead blocks, even if they contain some cycles. Differential Revision: https://reviews.llvm.org/D56121 Reviewed By: fedor.sergeev llvm-svn: 351433 |
||
---|---|---|
.. | ||
constant-fold-branch.ll | ||
irreducible_cfg.ll | ||
lcssa.ll | ||
merge-header.ll | ||
phi_with_duplicating_inputs.ll | ||
pr39783.ll | ||
scev.ll |