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

Manman Ren mren at apple.com
Mon Jun 11 17:36:30 PDT 2012


ping

Thanks,
Manman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fold_uncond-1.patch
Type: application/octet-stream
Size: 12264 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120611/691af240/attachment.obj>
-------------- next part --------------

On Jun 8, 2012, at 3:46 PM, Manman Ren wrote:

> 
> 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.
> 
> <fold_uncond.patch>
> 
> Please review and provide feedback,
> 
> Thanks,
> Manman
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list