[LLVMdev] getnode(BB) = 0; block already in dominator tree

Shreyas Krishnan shreyas76 at gmail.com
Thu May 14 13:50:52 PDT 2015


yes, am just using the LICM  that uses splitCriticalEdge  I see the issue
when the dominator tree is being updated

On Thu, May 14, 2015 at 12:20 PM, Daniel Berlin <dberlin at dberlin.org> wrote:

> Are you calling splitCriticalEdge?
> If so, it will take care of updating dominators for you.
>
>
> On Thu, May 14, 2015 at 11:55 AM, Shreyas Krishnan <shreyas76 at gmail.com>
> wrote:
> > Hi
> >    I run into an issue as part of splitting a critical edge during LICM.
> > When a new basic block is created and needs to be added into the
> dominator
> > tree, the block is already in the dominator tree. I print the dominator
> tree
> > and I see it is added into the tree as child of node it is supposed to
> > dominate.
> >
> > How do I debug to find out why/when its getting added into the tree. ?
> > Tips/suggestions on how to debug to find out how the densemap involved is
> > getting updated will be great.
> >
> > thanks
> > Shrey
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150514/4a420e55/attachment.html>


More information about the llvm-dev mailing list