[SimplifyCFG] Teach SimplifyCondBranchToTwoReturns() to preserve DomTree, part 2
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 19 Dec 2020 17:07:26 +0000 (20:07 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 19 Dec 2020 21:18:36 +0000 (00:18 +0300)
commit6a1617d67ccdf359d4250267be4431530308f351
tree8a3e661a7a83a69a626a5f1c19ee36143c60bb77
parentb94520c9ee2ffdb15e8af2afa210e8eb76da9343
[SimplifyCFG] Teach SimplifyCondBranchToTwoReturns() to preserve DomTree, part 2

... for the custom case returning void.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/fold-debug-info.ll