From 5c5f0ac3629c1df6aebf861e56aabca6d1021753 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 27 Oct 2009 21:49:40 +0000 Subject: [PATCH] you can't take the address of the entry block of a function. llvm-svn: 85321 --- llvm/docs/LangRef.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 6025b41ad700..3d4783a698b7 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -2179,8 +2179,8 @@ has undefined behavior.

blockaddress(@function, %block)

The 'blockaddress' constant computes the address of the specified - basic block in the specified function, and always has an i8* type.

- + basic block in the specified function, and always has an i8* type. Taking + the address of the entry block is illegal.

This value only has defined behavior when used as an operand to the 'indbr' instruction or for comparisons