[LoopUnroll] Don't update DT for changeToUnreachable.
There is no need to update the DT here, because there must be a unique latch. Hence if the latch is not exiting it must directly branch back to the original loop header and does not dominate any nodes. Skipping a DT update here simplifies D141487. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D141810
parent
75cb1389
Please register or sign in to comment