aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-05-29 09:42:13 +0000
committerBill Wendling <isanbard@gmail.com>2007-05-29 09:42:13 +0000
commitaac388b36389e801c4d3a13ec3e26e45d399e48d (patch)
treeee74d94d26ad246129790ca869ebe82d5ee9dc9d /docs
parent174d57880f960686c37524a4384b9845643664cf (diff)
downloadexternal_llvm-aac388b36389e801c4d3a13ec3e26e45d399e48d.zip
external_llvm-aac388b36389e801c4d3a13ec3e26e45d399e48d.tar.gz
external_llvm-aac388b36389e801c4d3a13ec3e26e45d399e48d.tar.bz2
Fixed some formatting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index c1bfe74..cf5ee06 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -734,9 +734,9 @@ a power of 2.</p>
<h5>Syntax:</h5>
<div class="doc_code">
- <pre>
+<pre>
@&lt;Name&gt; = [Linkage] [Visibility] alias &lt;AliaseeTy&gt; @&lt;Aliasee&gt;
- </pre>
+</pre>
</div>
</div>
@@ -1961,7 +1961,8 @@ Both arguments must have identical types.</p>
<p>The value produced is the integer or floating point difference of
the two operands.</p>
<h5>Example:</h5>
-<pre> &lt;result&gt; = sub i32 4, %var <i>; yields {i32}:result = 4 - %var</i>
+<pre>
+ &lt;result&gt; = sub i32 4, %var <i>; yields {i32}:result = 4 - %var</i>
&lt;result&gt; = sub i32 0, %val <i>; yields {i32}:result = -%var</i>
</pre>
</div>
@@ -2607,11 +2608,11 @@ a pointer is returned.</p>
<pre>
%array = malloc [4 x i8 ] <i>; yields {[%4 x i8]*}:array</i>
- %size = <a href="#i_add">add</a> i32 2, 2 <i>; yields {i32}:size = i32 4</i>
- %array1 = malloc i8, i32 4 <i>; yields {i8*}:array1</i>
- %array2 = malloc [12 x i8], i32 %size <i>; yields {[12 x i8]*}:array2</i>
- %array3 = malloc i32, i32 4, align 1024 <i>; yields {i32*}:array3</i>
- %array4 = malloc i32, align 1024 <i>; yields {i32*}:array4</i>
+ %size = <a href="#i_add">add</a> i32 2, 2 <i>; yields {i32}:size = i32 4</i>
+ %array1 = malloc i8, i32 4 <i>; yields {i8*}:array1</i>
+ %array2 = malloc [12 x i8], i32 %size <i>; yields {[12 x i8]*}:array2</i>
+ %array3 = malloc i32, i32 4, align 1024 <i>; yields {i32*}:array3</i>
+ %array4 = malloc i32, align 1024 <i>; yields {i32*}:array4</i>
</pre>
</div>