Explain that bitcast can only cast a pointer to another pointer.

llvm-svn: 33041
This commit is contained in:
Reid Spencer 2007-01-09 20:08:58 +00:00
parent 1fc9be30ef
commit e3db84c6c2
1 changed files with 2 additions and 1 deletions

View File

@ -3090,7 +3090,8 @@ nothing is done (<i>no-op cast</i>).</p>
<p>The '<tt>bitcast</tt>' instruction takes a value to cast, which must be <p>The '<tt>bitcast</tt>' 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 <a a first class value, and a type to cast it to, which must also be a <a
href="#t_firstclass">first class</a> type. The bit sizes of <tt>value</tt> href="#t_firstclass">first class</a> type. The bit sizes of <tt>value</tt>
and the destination type, <tt>ty2</tt>, must be identical.</p> and the destination type, <tt>ty2</tt>, must be identical. If the source
type is a pointer, the destination type must also be a pointer.</p>
<h5>Semantics:</h5> <h5>Semantics:</h5>
<p>The '<tt>bitcast</tt>' instruction converts <tt>value</tt> to type <p>The '<tt>bitcast</tt>' instruction converts <tt>value</tt> to type