1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Transforms/LoopSimplifyCFG
Max Kazantsev 09052af6c2 [LoopSimplifyCFG] Fix order of deletion of complex dead subloops
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
2019-01-17 12:25:40 +00:00
..
constant-fold-branch.ll [LoopSimplifyCFG] Fix order of deletion of complex dead subloops 2019-01-17 12:25:40 +00:00
irreducible_cfg.ll [LoopSimplifyCFG] Do not deal with loops with irreducible CFG inside 2018-12-07 05:44:45 +00:00
lcssa.ll [NFC] Add failing test on LCSSA form preservation of LoopSimplifyCFG 2018-12-28 10:43:37 +00:00
merge-header.ll Update MemorySSA in LoopSimplifyCFG. 2018-08-22 20:10:21 +00:00
phi_with_duplicating_inputs.ll Add missing REQUIRES: asserts 2018-11-27 07:51:18 +00:00
pr39783.ll [NFC] Verify memoryssa in test for PR39783 2018-12-05 05:20:08 +00:00
scev.ll Update MemorySSA in LoopSimplifyCFG. 2018-08-22 20:10:21 +00:00