[LLVMdev] Identifying backedges
Villmow, Micah
Micah.Villmow at amd.com
Wed Dec 3 15:27:18 PST 2008
Bhavani,
A simple way that I'm not sure is 100% guaranteed to work is if the
branch is to an earlier or later basic block.
Micah
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of bhavani krishnan
Sent: Wednesday, December 03, 2008 3:20 PM
To: Nick Lewycky; LLVM Developers Mailing List
Subject: [LLVMdev] Identifying backedges
Hi,
How do I find out if a branch instruction belongs to an if-else or a
loop i.e it is a backedge.
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