This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Merge together cleanuppads
ClosedPublic

Authored by majnemer on Feb 19 2016, 10:56 AM.

Details

Summary

Cleanuppads may be merged together if one is the only predecessor of the
other in which case a simple transform can be performed: replace the
a cleanupret with a branch and remove an unnecessary cleanuppad.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer updated this revision to Diff 48519.Feb 19 2016, 10:56 AM
majnemer retitled this revision from to [SimplifyCFG] Merge together cleanuppads.
majnemer updated this object.
majnemer added a subscriber: llvm-commits.
rnk accepted this revision.Feb 19 2016, 11:29 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Feb 19 2016, 11:29 AM
This revision was automatically updated to reflect the committed changes.