Skip to content

Commit 85b9191

Browse files
author
John Criswell
committed
Nobody expects the Spanish Inquisition!
Fixed the number of terminator instructions from five to six. Other minor fixes. llvm-svn: 18683
1 parent eb6437a commit 85b9191

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/docs/LangRef.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ <h5>Examples:</h5>
724724
finished. These terminator instructions typically yield a '<tt>void</tt>'
725725
value: they produce control flow, not values (the one exception being
726726
the '<a href="#i_invoke"><tt>invoke</tt></a>' instruction).</p>
727-
<p>There are five different terminator instructions: the '<a
727+
<p>There are six different terminator instructions: the '<a
728728
href="#i_ret"><tt>ret</tt></a>' instruction, the '<a href="#i_br"><tt>br</tt></a>'
729729
instruction, the '<a href="#i_switch"><tt>switch</tt></a>' instruction,
730730
the '<a href="#i_invoke"><tt>invoke</tt></a>' instruction, the '<a
@@ -957,7 +957,7 @@ <h5>Semantics:</h5>
957957
<div class="doc_text">
958958
<p>Binary operators are used to do most of the computation in a
959959
program. They require two operands, execute an operation on them, and
960-
produce a single value. Although, that single value might represent
960+
produce a single value. The operands might represent
961961
multiple data, as is the case with the <a href="#t_packed">packed</a> data type.
962962
The result value of a binary operator is not
963963
necessarily the same type as its operands.</p>
@@ -1135,7 +1135,7 @@ <h5>Example:</h5>
11351135
<div class="doc_text">
11361136
<p>Bitwise binary operators are used to do various forms of
11371137
bit-twiddling in a program. They are generally very efficient
1138-
instructions, and can commonly be strength reduced from other
1138+
instructions and can commonly be strength reduced from other
11391139
instructions. They require two operands, execute an operation on them,
11401140
and produce a single value. The resulting value of the bitwise binary
11411141
operators is always the same type as its first operand.</p>
@@ -1360,7 +1360,7 @@ <h5>Example:</h5>
13601360
<p>A key design point of an SSA-based representation is how it
13611361
represents memory. In LLVM, no memory locations are in SSA form, which
13621362
makes things very simple. This section describes how to read, write,
1363-
allocate and free memory in LLVM.</p>
1363+
allocate, and free memory in LLVM.</p>
13641364
</div>
13651365
<!-- _______________________________________________________________________ -->
13661366
<div class="doc_subsubsection"> <a name="i_malloc">'<tt>malloc</tt>'
@@ -1408,7 +1408,7 @@ <h5>Arguments:</h5>
14081408
that was allocated with the '<tt><a href="#i_malloc">malloc</a></tt>'
14091409
instruction.</p>
14101410
<h5>Semantics:</h5>
1411-
<p>Access to the memory pointed to by the pointer is not longer defined
1411+
<p>Access to the memory pointed to by the pointer is no longer defined
14121412
after this instruction executes.</p>
14131413
<h5>Example:</h5>
14141414
<pre> %array = <a href="#i_malloc">malloc</a> [4 x ubyte] <i>; yields {[4 x ubyte]*}:array</i>
@@ -1428,7 +1428,7 @@ <h5>Overview:</h5>
14281428
stack frame of the procedure that is live until the current function
14291429
returns to its caller.</p>
14301430
<h5>Arguments:</h5>
1431-
<p>The the '<tt>alloca</tt>' instruction allocates <tt>sizeof(&lt;type&gt;)*NumElements</tt>
1431+
<p>The '<tt>alloca</tt>' instruction allocates <tt>sizeof(&lt;type&gt;)*NumElements</tt>
14321432
bytes of memory on the runtime stack, returning a pointer of the
14331433
appropriate type to the program. The second form of the instruction is
14341434
a shorter version of the first that defaults to allocating one element.</p>

0 commit comments

Comments
 (0)