summaryrefslogtreecommitdiff
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-27 21:49:40 +0000
committerChris Lattner <sabre@nondot.org>2009-10-27 21:49:40 +0000
commit2dfdf2ab3c180631a98ba6ae566ddba7ac4e533b (patch)
tree4b8a528146a5302f1b69ec5748e66d44f1987c5b /docs/LangRef.html
parent3fd77cefc134abde19cce529039ae88d5c43fb2e (diff)
downloadllvm-2dfdf2ab3c180631a98ba6ae566ddba7ac4e533b.tar.gz
llvm-2dfdf2ab3c180631a98ba6ae566ddba7ac4e533b.tar.bz2
llvm-2dfdf2ab3c180631a98ba6ae566ddba7ac4e533b.tar.xz
you can't take the address of the entry block of a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 6025b41ad7..3d4783a698 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -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