[NFC][SimplifyCFG] FoldBranchToCommonDest: add one more test with PHI
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 27 Nov 2020 08:47:41 +0000 (11:47 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 27 Nov 2020 09:47:14 +0000 (12:47 +0300)
commit40188063296f3a55f7816b20f518fa99977145bb
tree1b4a940341c661c84241a2077b2d3e6a7a1d28b2
parent6484567f14881003a7c46d1587dbb0cf8082282a
[NFC][SimplifyCFG] FoldBranchToCommonDest: add one more test with PHI

This is the problematic pattern i didn't think of,
that lead to revert of 2245fb8aaa1c1f85f53f7b19a1ee3ac69b1a1dfe
in f3abd54958ab90ba7c100d3fa936a3ce0dd2ad04.
llvm/test/Transforms/SimplifyCFG/fold-branch-to-common-dest.ll