[llvm-commits] [llvm] r70181 - /llvm/trunk/docs/LangRef.html
Sanjiv Gupta
sanjiv.gupta at microchip.com
Sun Apr 26 20:21:10 PDT 2009
Author: sgupta
Date: Sun Apr 26 22:21:00 2009
New Revision: 70181
URL: http://llvm.org/viewvc/llvm-project?rev=70181&view=rev
Log:
Now that any size of integer indices are allowed for sequential types, remove the unneccessary gyan about promoting them.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=70181&r1=70180&r2=70181&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sun Apr 26 22:21:00 2009
@@ -3629,9 +3629,7 @@
<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>
More information about the llvm-commits
mailing list