aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CodeGenerator.html
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-13 17:55:57 +0000
committerDan Gohman <gohman@apple.com>2008-06-13 17:55:57 +0000
commit03e585737b0a38d3265f3d69f04818864d661058 (patch)
tree707f536e7d9677278dc8e0656e6289e8640dc758 /docs/CodeGenerator.html
parent900872186d57468038726a01290f5cd49a45537c (diff)
downloadexternal_llvm-03e585737b0a38d3265f3d69f04818864d661058.zip
external_llvm-03e585737b0a38d3265f3d69f04818864d661058.tar.gz
external_llvm-03e585737b0a38d3265f3d69f04818864d661058.tar.bz2
Fix an error in the two-address example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodeGenerator.html')
-rw-r--r--docs/CodeGenerator.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index a283981..06c6e9a 100644
--- a/docs/CodeGenerator.html
+++ b/docs/CodeGenerator.html
@@ -1468,12 +1468,12 @@ instance, in situations where an instruction such as <tt>%a = ADD %b
<div class="doc_code">
<pre>
%a = MOVE %b
-%a = ADD %a %b
+%a = ADD %a %c
</pre>
</div>
<p>Notice that, internally, the second instruction is represented as
-<tt>ADD %a[def/use] %b</tt>. I.e., the register operand <tt>%a</tt> is
+<tt>ADD %a[def/use] %c</tt>. I.e., the register operand <tt>%a</tt> is
both used and defined by the instruction.</p>
</div>