[LLVMdev] how to check whether from basicblock A we can go to basicblock B within the same function?

Guoliang Jin jingl1345 at gmail.com
Fri Aug 27 15:05:07 PDT 2010

> Every basic block ends with a terminator instruction that indicates
> which basic block or basic blocks it should branch to next. Switch,
> invoke, and branch are all terminator instructions. There may be more
> that I don't remember.
Why not just use the predecessor and successor iterator?

More information about the llvm-dev mailing list