<div dir="ltr">yes, am just using the LICM that uses splitCriticalEdge I see the issue when the dominator tree is being updated </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 12:20 PM, Daniel Berlin <span dir="ltr"><<a href="mailto:dberlin@dberlin.org" target="_blank">dberlin@dberlin.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you calling splitCriticalEdge?<br>
If so, it will take care of updating dominators for you.<br>
<div><div class="h5"><br>
<br>
On Thu, May 14, 2015 at 11:55 AM, Shreyas Krishnan <<a href="mailto:shreyas76@gmail.com">shreyas76@gmail.com</a>> wrote:<br>
> Hi<br>
> I run into an issue as part of splitting a critical edge during LICM.<br>
> When a new basic block is created and needs to be added into the dominator<br>
> tree, the block is already in the dominator tree. I print the dominator tree<br>
> and I see it is added into the tree as child of node it is supposed to<br>
> dominate.<br>
><br>
> How do I debug to find out why/when its getting added into the tree. ?<br>
> Tips/suggestions on how to debug to find out how the densemap involved is<br>
> getting updated will be great.<br>
><br>
> thanks<br>
> Shrey<br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
</blockquote></div><br></div>