[llvm-commits] [llvm] r52253 - /llvm/trunk/docs/CodeGenerator.html

Dan Gohman gohman at apple.com
Fri Jun 13 10:55:58 PDT 2008


Author: djg
Date: Fri Jun 13 12:55:57 2008
New Revision: 52253

URL: http://llvm.org/viewvc/llvm-project?rev=52253&view=rev
Log:
Fix an error in the two-address example.

Modified:
    llvm/trunk/docs/CodeGenerator.html

Modified: llvm/trunk/docs/CodeGenerator.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodeGenerator.html?rev=52253&r1=52252&r2=52253&view=diff

==============================================================================
--- llvm/trunk/docs/CodeGenerator.html (original)
+++ llvm/trunk/docs/CodeGenerator.html Fri Jun 13 12:55:57 2008
@@ -1468,12 +1468,12 @@
 <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>





More information about the llvm-commits mailing list