[NFC][InstCombine] Add more tests for aggregate reconstruction w/ PHI handling
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 17 Aug 2020 12:55:58 +0000 (15:55 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 17 Aug 2020 21:45:17 +0000 (00:45 +0300)
commit4791cbdaf9e2ed420d61291439f1154477a2b2a2
tree6236ac8e6a6a584932ed49db9f65697bbca8eb83
parenta1a3b86910e49bba5fb3dbbccc44f46e5619701e
[NFC][InstCombine] Add more tests for aggregate reconstruction w/ PHI handling

Even without handling several layers of PHI nodes,
we can handle more cases, as `@test6` shows.
llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll