[NFC][InstCombine] Tests for PHI-of-insertvalue's
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 20 Aug 2020 16:16:48 +0000 (19:16 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 20 Aug 2020 17:16:31 +0000 (20:16 +0300)
commitea2e682cc2f85594fccd7450b5e5e15294e7bf3f
treee9347d6472a64ee435c01dc9f1763da57a84f6c9
parent34978602032fbd312998c8c3ef32316717013254
[NFC][InstCombine] Tests for PHI-of-insertvalue's

Currently we don't do anything about these,
neither in InstCombine, nor in SimplifyCFG's sinking.
These happen exceedingly rarely, but i've seen them in the cases where
PHI-aware aggregate reconstruction would have fired if not for them.
llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll
llvm/test/Transforms/InstCombine/phi-of-insertvalues.ll [new file with mode: 0644]