[llvm-commits] CVS: llvm/docs/LangRef.html
Reid Spencer
reid at x10sys.com
Tue Jan 9 12:09:15 PST 2007
Changes in directory llvm/docs:
LangRef.html updated: 1.190 -> 1.191
---
Log message:
Explain that bitcast can only cast a pointer to another pointer.
---
Diffs of the changes: (+3 -2)
LangRef.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.190 llvm/docs/LangRef.html:1.191
--- llvm/docs/LangRef.html:1.190 Mon Jan 8 01:55:15 2007
+++ llvm/docs/LangRef.html Tue Jan 9 14:08:58 2007
@@ -3090,7 +3090,8 @@
<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
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>
<p>The '<tt>bitcast</tt>' instruction converts <tt>value</tt> to type
@@ -4475,7 +4476,7 @@
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007/01/08 07:55:15 $
+ Last modified: $Date: 2007/01/09 20:08:58 $
</address>
</body>
</html>
More information about the llvm-commits
mailing list