DeadBranchElim: Improve algorithm to only remove blocks with no predecessors
authorGregF <greg@LunarG.com>
Mon, 10 Jul 2017 23:20:35 +0000 (17:20 -0600)
committerDavid Neto <dneto@google.com>
Wed, 12 Jul 2017 19:58:42 +0000 (15:58 -0400)
commite2544ddc908261ba0d3dd8898cc0001e9c349f76
tree93fc58006d4c9dbb65327873697a4bd536d53b84
parent06d4fd52c244ee5abf6819f721b9f68e5a3fcdb0
DeadBranchElim: Improve algorithm to only remove blocks with no predecessors

Must be careful not to remove blocks pointed at by unreachable blocks
source/opt/dead_branch_elim_pass.cpp