[MC] Add support for GNU as-compatible binary operator precedence
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 26 Oct 2015 03:15:34 +0000 (03:15 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 26 Oct 2015 03:15:34 +0000 (03:15 +0000)
commit434302d503c8eeb7e47c9155488367145e2ed907
treecc30a64a163e454e69ecc7c3a644aab0e220cb35
parent7e2b51ddb0c31251240930f408c8f60aac2448ed
[MC] Add support for GNU as-compatible binary operator precedence

GNU as and Darwin give the various binary operators different
precedence.  LLVM's MC supported the Darwin semantics but not the GNU
semantics.

This fixes PR25311.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/X86/x86-64.s