From: Reid Spencer Date: Tue, 9 Jan 2007 20:08:58 +0000 (+0000) Subject: Explain that bitcast can only cast a pointer to another pointer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19b569fc08dbd968ce96149dac87857e4f336918;p=oota-llvm.git Explain that bitcast can only cast a pointer to another pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33041 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index caaf983ef97..b3cc8db5606 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3090,7 +3090,8 @@ nothing is done (no-op cast).

The 'bitcast' instruction takes a value to cast, which must be a first class value, and a type to cast it to, which must also be a first class type. The bit sizes of value -and the destination type, ty2, must be identical.

+and the destination type, ty2, must be identical. If the source +type is a pointer, the destination type must also be a pointer.

Semantics:

The 'bitcast' instruction converts value to type