[SimplifyCFG] MergeBlockIntoPredecessor(): switch to non-permissive DomTree updates
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 7 Jan 2021 21:51:29 +0000 (00:51 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 7 Jan 2021 23:15:26 +0000 (02:15 +0300)
commit66189212bbb0351ae98bbda70bd2cd819e86fd17
treec9ff3f6e21c72adaa5fdae564d72b1d28043ae60
parent05adc73db053fd79e64901e359e6ee783d772a80
[SimplifyCFG] MergeBlockIntoPredecessor(): switch to non-permissive DomTree updates

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