[NFC][SimplifyCFG] PerformBranchToCommonDestFolding(): move instruction cloning to...
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 22 Jan 2021 20:35:30 +0000 (23:35 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 22 Jan 2021 22:29:04 +0000 (01:29 +0300)
commiteae1cc0de5b9c3b97ce1b6f4275b474ab10b83d0
treeb879e51f01c56895fa83dbe19e98494fbb30f2f1
parente8387500059e7f3c261b2127a241b2c4c81ab36b
[NFC][SimplifyCFG] PerformBranchToCommonDestFolding(): move instruction cloning to after CFG update

This simplifies follow-up patch, and is NFC otherwise.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp