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

Daniel Berlin dberlin at dberlin.org
Thu May 14 12:20:18 PDT 2015


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
>



More information about the llvm-dev mailing list