[SimplifyCFG] Teach tryWidenCondBranchToCondBranch() to preserve DomTree
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 1 Jan 2021 13:33:19 +0000 (16:33 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 1 Jan 2021 22:01:17 +0000 (01:01 +0300)
commitf1ce6960561bc28129fa3306f57a5c6df21258ab
tree4bdc326e8addefe86903487f9d351199570a8f16
parente08fea3b240994572a4dd6b34bd846aef023a123
[SimplifyCFG] Teach tryWidenCondBranchToCondBranch() to preserve DomTree
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/wc-widen-block.ll