[SimplifyCFG] Teach tryToSimplifyUncondBranchWithICmpInIt() to preserve DomTree
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 31 Dec 2020 23:44:17 +0000 (02:44 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 1 Jan 2021 00:25:25 +0000 (03:25 +0300)
commite1440d43bca5438544a12bebe82a3cd1a37157f1
tree3026ff1086429bfc4a8aaeff6cb784cc9fe4fadb
parent8866583953f1e9038b5ca4ed4c199e0476790e0c
[SimplifyCFG] Teach tryToSimplifyUncondBranchWithICmpInIt() to preserve DomTree
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll
llvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll
llvm/test/Transforms/SimplifyCFG/switch_create.ll