From cdfc940912d56a63b6f12eaa7f3faf79cf74c693 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 1 Nov 2009 01:27:45 +0000 Subject: Revert 85678/85680. The decision is to stay with the current form of indirectbr, thus we don't need "blockaddr(@func, null)". Eliminate it for simplicity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85699 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index 23c07c7076..af0e5640c5 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2176,13 +2176,11 @@ has undefined behavior.

Blocks
-

blockaddress(@function, %block)
- blockaddress(@function, null)

+

blockaddress(@function, %block)

The 'blockaddress' constant computes the address of the specified basic block in the specified function, and always has an i8* type. Taking - the address of the entry block is illegal. The BasicBlock operand may also - be null.

+ the address of the entry block is illegal.

This value only has defined behavior when used as an operand to the 'indirectbr' instruction or for comparisons -- cgit v1.2.3