[SimplifyCFG] 'merge compatible invokes': support normal destination w/ PHIs but...
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 8 Feb 2022 13:34:34 +0000 (16:34 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 8 Feb 2022 14:49:38 +0000 (17:49 +0300)
commit9986d602241ddb22a8ec92f4ef4cf7071804df64
treed8a7be1554d08409fb7979ade9cfc896ea29e373
parent8411560fd0751fc10ae03c85dabdb9d8b2b9ba6b
[SimplifyCFG] 'merge compatible invokes': support normal destination w/ PHIs but no uses

As long as the incoming values for all the invokes in the set
are identical, we can merge the invokes.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/X86/merge-compatible-invokes-of-landingpad.ll