summaryrefslogtreecommitdiff
path: root/docs
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
parent900872186d57468038726a01290f5cd49a45537c (diff)
downloadllvm-03e585737b0a38d3265f3d69f04818864d661058.tar.gz
llvm-03e585737b0a38d3265f3d69f04818864d661058.tar.bz2
llvm-03e585737b0a38d3265f3d69f04818864d661058.tar.xz
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')
-rw-r--r--docs/CodeGenerator.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html
index a283981c7c..06c6e9ae04 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>