[LLVMdev] Why shouldn't function entry blocks have predecessors?

Félix Cloutier felixcca at yahoo.ca
Wed Jul 7 23:16:46 PDT 2010


The title says it all. verifyFunction checks it (Verifier.cpp, line 728).

Why can't BasicBlocks that serve as a function's entry point also have predecessors? What keeps a function from looping back to its beginning?

Félix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100708/f365b611/attachment.html>


More information about the llvm-dev mailing list