summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-04-27 03:21:00 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-04-27 03:21:00 +0000
commit23c70f44e4ed95d72b3e951ef8448bf73ae1ac1f (patch)
tree87d1b825179d9cb6efac2089177e6103b24bf969 /docs
parentfa6c7168429d6f0ee8e480a7f78e5abc195efba8 (diff)
downloadllvm-23c70f44e4ed95d72b3e951ef8448bf73ae1ac1f.tar.gz
llvm-23c70f44e4ed95d72b3e951ef8448bf73ae1ac1f.tar.bz2
llvm-23c70f44e4ed95d72b3e951ef8448bf73ae1ac1f.tar.xz
Now that any size of integer indices are allowed for sequential types, remove the unneccessary gyan about promoting them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 313bf83347..be8ff73331 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -3629,9 +3629,7 @@ the pointer before continuing calculation.</p>
<p>The type of each index argument depends on the type it is indexing into.
When indexing into a (packed) structure, only <tt>i32</tt> integer
<b>constants</b> are allowed. When indexing into an array, pointer or vector,
-integers of any width are allowed (also non-constants). 16-bit
-values will be sign extended to 32-bits if required, and 32-bit values
-will be sign extended to 64-bits if required.</p>
+integers of any width are allowed (also non-constants).</p>
<p>For example, let's consider a C code fragment and how it gets
compiled to LLVM:</p>