1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

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 59da83273a
commit 5b2fc7b0b2

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