From 03bbad64103133311920b6105339acd79058f6a7 Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Sat, 28 Feb 2009 18:27:03 +0000
Subject: 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
---
docs/LangRef.html | 12 +++---------
1 file 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:
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, ... )
--
cgit v1.1