[llvm-commits] [llvm] r65700 - /llvm/trunk/docs/LangRef.html

Chris Lattner sabre at nondot.org
Sat Feb 28 10:27:04 PST 2009


Author: lattner
Date: Sat Feb 28 12:27:03 2009
New Revision: 65700

URL: http://llvm.org/viewvc/llvm-project?rev=65700&view=rev
Log:
don't redescribe bitcast constraints in two places.  It is not valid to 
bitcast from one aggregate to another.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=65700&r1=65699&r2=65700&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sat Feb 28 12:27:03 2009
@@ -1947,15 +1947,9 @@
   <i>really</i> dangerous!</dd>
 
   <dt><b><tt>bitcast ( CST to TYPE )</tt></b></dt>
-  <dd>Convert a constant, CST, to another TYPE. The size of CST and TYPE must be
-  identical (same number of bits). The conversion is done as if the CST value
-  was stored to memory and read back as TYPE. In other words, no bits change 
-  with this operator, just the type.  This can be used for conversion of
-  aggregate types to any aggregate type, as long as they have the same bit
-  width. Vector types may also be casted to and from any other type as long as
-  they have the same bit width. For pointers it is only valid to cast to
-  another pointer type.
-  </dd>
+  <dd>Convert a constant, CST, to another TYPE. The constraints of the operands
+      are the same as those for the <a href="#i_bitcast">bitcast
+      instruction</a>.</dd>
 
   <dt><b><tt>getelementptr ( CSTPTR, IDX0, IDX1, ... )</tt></b></dt>
 





More information about the llvm-commits mailing list