1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 220d4325b0
commit e903d414ee

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>