[PATCH] D46802: The return value of a comparison operator is -1 if true and 0 if false

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 13 17:23:24 PDT 2018


void marked an inline comment as done.
void added inline comments.


================
Comment at: lib/MC/MCExpr.cpp:805
+    case MCBinaryExpr::GTE:
+    case MCBinaryExpr::LAnd:
+    case MCBinaryExpr::LOr:
----------------
niravd wrote:
> The docs say Land and LOr must be 0 or 1. 
Ah! Good catch. Done.


https://reviews.llvm.org/D46802





More information about the llvm-commits mailing list