From: Sanjiv Gupta
Date: Mon, 27 Apr 2009 03:21:00 +0000 (+0000)
Subject: Now that any size of integer indices are allowed for sequential types, remove the...
X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=23c70f44e4ed95d72b3e951ef8448bf73ae1ac1f;p=oota-llvm.git
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
---
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 313bf833471..be8ff733318 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -3629,9 +3629,7 @@ the pointer before continuing calculation.
The type of each index argument depends on the type it is indexing into.
When indexing into a (packed) structure, only i32 integer
constants 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.
+integers of any width are allowed (also non-constants).
For example, let's consider a C code fragment and how it gets
compiled to LLVM: