[SimplifyCFG] TryToSimplifyUncondBranchFromEmptyBlock(): switch to non-permissive...
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 7 Jan 2021 20:10:43 +0000 (23:10 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 7 Jan 2021 23:15:25 +0000 (02:15 +0300)
commit1f9b591ee66fe5abd6f63990b085e1f1f559d8d9
treeece61c32ddcee0a6da41c2c8dd1610d87db7eb27
parentb3822728fae2e3755d6daff7fc31fbac16e61fe4
[SimplifyCFG] TryToSimplifyUncondBranchFromEmptyBlock(): switch to non-permissive DomTree updates

... which requires not deleting edges that were just deleted already,
    by not processing the same predecessor more than once.
llvm/lib/Transforms/Utils/Local.cpp