[LLVMdev] hi, Hi, (Preccessors' Number) < MachineBasicBlock's Number < (Successors's Number), Is it really?
Bill Wendling
wendling at apple.com
Thu Dec 3 22:12:40 PST 2009
On Dec 3, 2009, at 9:52 PM, 任坤 wrote:
> Hi, EveryOne:
>
> I am travelling CFG with MachineFunction. So I want to sure it.
> (Preccessors' Number) < MachineBasicBlock's Number < (Successors's Number), Is it really?
>
Hi 任坤,
I can't say for sure, though I don't think we make assurances that this is the case. If you want to traverse the CFG, there should be better ways to perform this. What order do you want your traversal to go? Depth-first? Breadth-first? Other?
-bw
More information about the llvm-dev
mailing list