don't redescribe bitcast constraints in two places. It is not valid to
authorChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2009 18:27:03 +0000 (18:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Feb 2009 18:27:03 +0000 (18:27 +0000)
bitcast from one aggregate to another.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65700 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 72bd76d2ae09a5ab8f3f60e595e1d5c533049816..f70b36360e290fd5e1f851a52509f81652a3c08c 100644 (file)
@@ -1947,15 +1947,9 @@ following is the syntax for constant expressions:</p>
   <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>