summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-29 06:44:13 +0000
committerChris Lattner <sabre@nondot.org>2009-07-29 06:44:13 +0000
commita40b912352ef1d722f220bbc28b3de7273f90ac4 (patch)
tree2427f87714b98595c7fa50e79a3504bd38e53a80 /llvm/docs
parent4eb9df073dc01cea918c58cd27867b45f8644dbb (diff)
downloadbcm5719-llvm-a40b912352ef1d722f220bbc28b3de7273f90ac4.tar.gz
bcm5719-llvm-a40b912352ef1d722f220bbc28b3de7273f90ac4.zip
some wording changes.
llvm-svn: 77443
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index e3e710be6b9..2589771915f 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -3917,7 +3917,7 @@ Instruction</a> </div>
<h5>Arguments:</h5>
<p>The first argument is always a pointer, and forms the basis of the
- calculation. The remaining arguments are indices, that indicate which of the
+ calculation. The remaining arguments are indices that indicate which of the
elements of the aggregate object are indexed. The interpretation of each
index is dependent on the type being indexed into. The first index always
indexes the pointer value given as the first argument, the second index
@@ -3929,9 +3929,10 @@ Instruction</a> </div>
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
+ When indexing into a (optionally 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).</p>
+ vector, integers of any width are allowed, and they are not required to be
+ constant.</p>
<p>For example, let's consider a C code fragment and how it gets compiled to
LLVM:</p>
OpenPOWER on IntegriCloud