mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
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
This commit is contained in:
parent
fa6c716842
commit
23c70f44e4
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user