[LLVMdev] [PATCH] Add functionality to scc_iterator

Chris Lattner clattner at apple.com
Sun Aug 9 12:39:19 PDT 2009


On Aug 8, 2009, at 4:54 PM, Patrick Simmons wrote:

> Is there a better method for checking whether a basic block is part  
> of a
> cycle I should be using?

A simple depth first traversal should do it.

-Chris



More information about the llvm-dev mailing list