From 61fca97b76c59340dbb609d1e4fd3de7cff59d0f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Feb 2009 18:27:03 +0000 Subject: [PATCH] don't redescribe bitcast constraints in two places. It is not valid to bitcast from one aggregate to another. llvm-svn: 65700 --- docs/LangRef.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 72bd76d2ae0..f70b36360e2 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1947,15 +1947,9 @@ following is the syntax for constant expressions:

really dangerous!
bitcast ( CST to TYPE )
-
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. -
+
Convert a constant, CST, to another TYPE. The constraints of the operands + are the same as those for the bitcast + instruction.
getelementptr ( CSTPTR, IDX0, IDX1, ... )