[PM/LoopUnswitch] Remove the last manual domtree update code from loop
authorChandler Carruth <chandlerc@gmail.com>
Tue, 1 May 2018 09:54:39 +0000 (09:54 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 1 May 2018 09:54:39 +0000 (09:54 +0000)
commit2c85a23123f1d7d7a475967af8164557355eade3
tree3992e32722809a458d85e0ea44d9f72dd69f3a29
parent44aab925fd281cbd44f62bce5e19ee992f82f22d
[PM/LoopUnswitch] Remove the last manual domtree update code from loop
unswitch and replace it with the amazingly simple update API code.

This addresses piles of FIXMEs around the update logic here and makes
everything substantially simpler.

llvm-svn: 331247
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp