[SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 2 Jan 2021 18:27:19 +0000 (21:27 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 2 Jan 2021 22:45:48 +0000 (01:45 +0300)
commit6a3a8d17ebae0669e797ac22a2b2963b89ee12fa
tree862f91ebf71bdc8643065c079c7a7c921806d6af
parenteda50309f5930d249fef4747efb9a047d239ba05
[SimplifyCFG] FoldValueComparisonIntoPredecessors(): fine-tune/fix DomTree preservation
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/FoldValueComparisonIntoPredecessors-domtree-preservation-edgecase.ll