you can't take the address of the entry block of a function.

llvm-svn: 85321
This commit is contained in:
Chris Lattner 2009-10-27 21:49:40 +00:00
parent da37b30b21
commit 5c5f0ac362
1 changed files with 2 additions and 2 deletions

View File

@ -2179,8 +2179,8 @@ has undefined behavior.</p>
<p><b><tt>blockaddress(@function, %block)</tt></b></p>
<p>The '<tt>blockaddress</tt>' constant computes the address of the specified
basic block in the specified function, and always has an i8* type.</p>
basic block in the specified function, and always has an i8* type. Taking
the address of the entry block is illegal.</p>
<p>This value only has defined behavior when used as an operand to the
'<a href="#i_indbr"><tt>indbr</tt></a>' instruction or for comparisons