[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:54 PDT 2018
void updated this revision to Diff 146534.
void added a comment.
Fix logical operators. They return 1 or 0, not -1 or 0.
https://reviews.llvm.org/D46802
Files:
lib/MC/MCExpr.cpp
test/MC/AsmParser/altmacro_string.s
test/MC/AsmParser/directive_space.s
test/MC/AsmParser/exprs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46802.146534.patch
Type: text/x-patch
Size: 3324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180514/a5c793ca/attachment.bin>
More information about the llvm-commits
mailing list