[PATCH] D17459: [SimplifyCFG] Merge together cleanuppads

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 10:56:07 PST 2016


majnemer created this revision.
majnemer added reviewers: rnk, JosephTremoulet, andrew.w.kaylor.
majnemer added a subscriber: llvm-commits.

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.

http://reviews.llvm.org/D17459

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/merge-cleanuppads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17459.48519.patch
Type: text/x-patch
Size: 4800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160219/b6ac762c/attachment.bin>


More information about the llvm-commits mailing list