[llvm-commits] [llvm] r85321 - /llvm/trunk/docs/LangRef.html

Chris Lattner sabre at nondot.org
Tue Oct 27 14:49:41 PDT 2009


Author: lattner
Date: Tue Oct 27 16:49:40 2009
New Revision: 85321

URL: http://llvm.org/viewvc/llvm-project?rev=85321&view=rev
Log:
you can't take the address of the entry block of a function.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=85321&r1=85320&r2=85321&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Tue Oct 27 16:49:40 2009
@@ -2179,8 +2179,8 @@
 <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





More information about the llvm-commits mailing list