!< is >=, not >. Thanks to Max Hailperin for pointing this out!

llvm-svn: 44291
This commit is contained in:
Chris Lattner 2007-11-23 22:19:33 +00:00
parent 136449a6d7
commit 752b05fe94
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ def unary!(v)
# Define &gt; with the same precedence as &lt;. # Define &gt; with the same precedence as &lt;.
def binary&gt; 10 (LHS RHS) 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") # Binary "logical or", (note that it does not "short circuit")
def binary| 5 (LHS RHS) def binary| 5 (LHS RHS)
@ -532,7 +532,7 @@ def unary-(v)
# Define &gt; with the same precedence as &gt;. # Define &gt; with the same precedence as &gt;.
def binary&gt; 10 (LHS RHS) def binary&gt; 10 (LHS RHS)
!(LHS &lt; RHS); RHS &lt; LHS;
# Binary logical or, which does not short circuit. # Binary logical or, which does not short circuit.
def binary| 5 (LHS RHS) def binary| 5 (LHS RHS)