[llvm-commits] [PATCH] Make SimplifyCFGPass preserve the dominator tree

John Criswell criswell at illinois.edu
Fri Jun 8 14:55:45 PDT 2012


On 6/8/12 12:47 PM, Peter Cooper wrote:
> Hi all
>
> Attached is a pass to make the SimplifyCFGPass preserve the dominator 
> tree.  Currently we see lots of recalculations of the dom tree right 
> after simplify cfg runs, regardless of whether simplify cfg actually 
> did anything.

Does SimplifyCFGPass return false from its run method when it doesn't 
change anything?  If so, does the PassManager just invalidate DomTree 
anyway because SimplifyCFGPass does not claim to preserve it?

-- John T.

>
> Thanks,
> Pete
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120608/61482dee/attachment.html>


More information about the llvm-commits mailing list