[llvm-commits] [PATCH] SimplifyCFG: fold unconditional branch to its predecessor if profitable.

Manman Ren mren at apple.com
Fri Jun 8 15:46:41 PDT 2012


This patch extends FoldBranchToCommonDest to fold unconditional branches.
For unconditional branches, we fold them if it is easy to update the phi nodes in the common successors.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold_uncond.patch
Type: application/octet-stream
Size: 12264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120608/7e4a8328/attachment.obj>
-------------- next part --------------


Please review and provide feedback,

Thanks,
Manman


More information about the llvm-commits mailing list