mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
!< is >=, not >. Thanks to Max Hailperin for pointing this out!
llvm-svn: 44291
This commit is contained in:
parent
265752ae8f
commit
4aab2642b9
@ -97,7 +97,7 @@ def unary!(v)
|
||||
|
||||
# Define > with the same precedence as <.
|
||||
def binary> 10 (LHS RHS)
|
||||
!(LHS < RHS); # alternatively, could just use "RHS < LHS"
|
||||
RHS < LHS;
|
||||
|
||||
# Binary "logical or", (note that it does not "short circuit")
|
||||
def binary| 5 (LHS RHS)
|
||||
@ -532,7 +532,7 @@ def unary-(v)
|
||||
|
||||
# Define > with the same precedence as >.
|
||||
def binary> 10 (LHS RHS)
|
||||
!(LHS < RHS);
|
||||
RHS < LHS;
|
||||
|
||||
# Binary logical or, which does not short circuit.
|
||||
def binary| 5 (LHS RHS)
|
||||
|
Loading…
Reference in New Issue
Block a user