[SimplifyCFG] Teach FoldCondBranchOnPHI() to preserve DomTree
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 29 Dec 2020 19:58:28 +0000 (22:58 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 29 Dec 2020 21:48:11 +0000 (00:48 +0300)
commitd4c0abb4a31a9e6a8fccb656d897f7140781022c
treeb757c51bb2367388a26231f1d0d441390316b308
parentb8121b2e62d58ca42aa78b0dd644af9d096957a3
[SimplifyCFG] Teach FoldCondBranchOnPHI() to preserve DomTree
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
llvm/test/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll
llvm/test/Transforms/SimplifyCFG/X86/critedge-assume.ll
llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll
llvm/test/Transforms/SimplifyCFG/debug-info-thread-phi.ll
llvm/test/Transforms/SimplifyCFG/pr46638.ll
llvm/test/Transforms/SimplifyCFG/unprofitable-pr.ll