From e3db84c6c2ad54956f423088b4b487e187f956c4 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 9 Jan 2007 20:08:58 +0000 Subject: [PATCH] Explain that bitcast can only cast a pointer to another pointer. llvm-svn: 33041 --- llvm/docs/LangRef.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index caaf983ef977..b3cc8db56063 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/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