Author: lattner
Date: Fri Nov 23 16:19:33 2007
New Revision: 44291

URL: http://llvm.org/viewvc/llvm-project?rev=44291&view=rev
Log:
!< is >=, not >.  Thanks to Max Hailperin for pointing this out!

Modified:
    llvm/trunk/docs/tutorial/LangImpl6.html

Modified: llvm/trunk/docs/tutorial/LangImpl6.html
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/LangImpl6.html?rev=44291&r1=44290&r2=44291&view=diff

==============================================================================
--- llvm/trunk/docs/tutorial/LangImpl6.html (original)
+++ llvm/trunk/docs/tutorial/LangImpl6.html Fri Nov 23 16:19:33 2007
@@ -97,7 +97,7 @@
 
 # Define &gt; with the same precedence as &lt;.
 def binary&gt; 10 (LHS RHS)
-  !(LHS &lt; RHS);     # alternatively, could just use "RHS &lt; LHS"
+  RHS &lt; LHS;
 
 # Binary "logical or", (note that it does not "short circuit")
 def binary| 5 (LHS RHS)
@@ -532,7 +532,7 @@
 
 # Define &gt; with the same precedence as &gt;.
 def binary&gt; 10 (LHS RHS)
-  !(LHS &lt; RHS);
+  RHS &lt; LHS;
 
 # Binary logical or, which does not short circuit. 
 def binary| 5 (LHS RHS)


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to