OSDN Git Service

Correct compatibility with the GNU Assembler's handling of comparison ops
authorBill Wendling <isanbard@gmail.com>
Mon, 14 May 2018 05:25:36 +0000 (05:25 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 14 May 2018 05:25:36 +0000 (05:25 +0000)
commit558d7248e08cddb64fb28cbfbed8f314cad452a9
tree120389150946d93a0d24fd1daada0f733efdb41c
parent711dd879a41dc8226a67ce9de5b54f404afa411f
Correct compatibility with the GNU Assembler's handling of comparison ops

GAS returns -1 for a comparison operator if the result is true and 0 if false.

  https://www.sourceware.org/binutils/docs-2.12/as.info/Infix-Ops.html#Infix%20Ops

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332215 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCExpr.cpp
test/MC/AsmParser/altmacro_string.s
test/MC/AsmParser/directive_space.s
test/MC/AsmParser/exprs.s