summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-04-27 03:21:00 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-04-27 03:21:00 +0000
commit1f8555a07f5329910cadc8d0beeb886a8e1b0c42 (patch)
treeef564bec561a98b948036996e170ece2dccc322e /llvm/docs/LangRef.html
parent58440cf305af06c4aef505e89e28773e99569f96 (diff)
downloadbcm5719-llvm-1f8555a07f5329910cadc8d0beeb886a8e1b0c42.tar.gz
bcm5719-llvm-1f8555a07f5329910cadc8d0beeb886a8e1b0c42.zip
Now that any size of integer indices are allowed for sequential types, remove the unneccessary gyan about promoting them.
llvm-svn: 70181
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 313bf833471..be8ff733318 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud