From: Dan Gohman Date: Fri, 13 Jun 2008 17:55:57 +0000 (+0000) Subject: Fix an error in the two-address example. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=03e585737b0a38d3265f3d69f04818864d661058;p=oota-llvm.git 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 --- diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index a283981c7c5..06c6e9ae046 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -1468,12 +1468,12 @@ instance, in situations where an instruction such as %a = ADD %b
 %a = MOVE %b
-%a = ADD %a %b
+%a = ADD %a %c
 

Notice that, internally, the second instruction is represented as -ADD %a[def/use] %b. I.e., the register operand %a is +ADD %a[def/use] %c. I.e., the register operand %a is both used and defined by the instruction.