diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-04-27 03:21:00 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-04-27 03:21:00 +0000 |
commit | a2e72d9029700bcd105a4d802841904582cdc68c (patch) | |
tree | 87d1b825179d9cb6efac2089177e6103b24bf969 /docs/LangRef.html | |
parent | e0e19a9c0431d3be9f80ddc3a4d1daa3cb801a43 (diff) | |
download | external_llvm-a2e72d9029700bcd105a4d802841904582cdc68c.zip external_llvm-a2e72d9029700bcd105a4d802841904582cdc68c.tar.gz external_llvm-a2e72d9029700bcd105a4d802841904582cdc68c.tar.bz2 |
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/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 313bf83..be8ff73 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> |