diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-28 18:27:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-28 18:27:03 +0000 |
commit | 03bbad64103133311920b6105339acd79058f6a7 (patch) | |
tree | 0288bfd7003ab0a0909e65aaedbc505a2b836cb5 | |
parent | 452e2627dc1de4fb5a2b1c9ac999f1b3396f82c7 (diff) | |
download | external_llvm-03bbad64103133311920b6105339acd79058f6a7.zip external_llvm-03bbad64103133311920b6105339acd79058f6a7.tar.gz external_llvm-03bbad64103133311920b6105339acd79058f6a7.tar.bz2 |
don't redescribe bitcast constraints in two places. It is not valid to
bitcast from one aggregate to another.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65700 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/LangRef.html | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 72bd76d..f70b363 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -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> |