[LLVMdev] Finding Merge nodes in CFG

John Criswell criswell at illinois.edu
Sun May 30 22:55:46 PDT 2010


ambika wrote:
> Hi,
>
> I have basic block and I want to find a merge node just above this basic 
> block.
> How can I do this?
>   

Can you clarify what you mean by a "merge node?"  Are you looking for 
the proper place to insert a phi node?  Are you trying to find the first 
basic block that dominates the basic block of interest, or do you mean 
something else entirely?

-- John T.

> Thanks in advance.
>
> regards,
> Ambika
> _______________________________________________
> 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