Now that any size of integer indices are allowed for sequential types, remove the unneccessary gyan about promoting them.

llvm-svn: 70181
This commit is contained in:
Sanjiv Gupta 2009-04-27 03:21:00 +00:00
parent 58440cf305
commit 1f8555a07f
1 changed files with 1 additions and 3 deletions

View File

@ -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>