[LLVMdev] Identifying backedges

Tanya M. Lattner tonic at nondot.org
Wed Dec 3 16:51:30 PST 2008


> How do I find out if a branch instruction belongs to an if-else or a 
> loop i.e it is a backedge.

Have you looked at LoopInfo?

-Tanya

>
> Thanks,
> Bhavani
>
>
>
> _______________________________________________
> 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