diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-04-26 17:14:35 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-04-26 17:14:35 +0000 |
commit | 9341c808ae684aeddcb4a926be3e3af62be22518 (patch) | |
tree | 9c93e7b6daa166bd676e68022e6881ef08ad7e4e /docs | |
parent | efdb3bc8d058981d4d03771a839fd262d0e43172 (diff) | |
download | external_llvm-9341c808ae684aeddcb4a926be3e3af62be22518.zip external_llvm-9341c808ae684aeddcb4a926be3e3af62be22518.tar.gz external_llvm-9341c808ae684aeddcb4a926be3e3af62be22518.tar.bz2 |
Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index c07d0e0..313bf83 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -3629,7 +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, -only integers of 16, 32 or 64 bits are allowed (also non-constants). 16-bit +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> |