[llvm-commits] [llvm] r81219 - /llvm/trunk/docs/LangRef.html
Chris Lattner
sabre at nondot.org
Tue Sep 8 08:13:16 PDT 2009
Author: lattner
Date: Tue Sep 8 10:13:16 2009
New Revision: 81219
URL: http://llvm.org/viewvc/llvm-project?rev=81219&view=rev
Log:
fix a couple typos pointed out by edwin and duncan
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=81219&r1=81218&r2=81219&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Tue Sep 8 10:13:16 2009
@@ -2116,7 +2116,7 @@
"variable" doesn't actually <em>have a live range</em>. Instead, the value is
logically read from arbitrary registers that happen to be around when needed,
so the value is not neccesarily consistent over time. In fact, %A and %C need
-to have the same semantics of the core LLVM "replace all uses with" concept
+to have the same semantics or the core LLVM "replace all uses with" concept
would not hold.</p>
<div class="doc_code">
@@ -2136,7 +2136,7 @@
not (currently) defined on SNaN's. However, in the second example, we can make
a more aggressive assumption: because the undef is allowed to be an arbitrary
value, we are allowed to assume that it could be zero. Since a divide by zero
-is has <em>undefined behavior</em>, we are allowed to assume that the operation
+it has <em>undefined behavior</em>, we are allowed to assume that the operation
does not execute at all. This allows us to delete the divide and all code after
it: since the undefined operation "can't happen", the optimizer can assume that
it occurs in dead code.
More information about the llvm-commits
mailing list