[X86] Pass the OperandVector by reference to ParseIntelOperand and ParseRoundingMode...
authorCraig Topper <craig.topper@intel.com>
Fri, 31 Jul 2020 02:42:57 +0000 (19:42 -0700)
committerCraig Topper <craig.topper@intel.com>
Fri, 31 Jul 2020 02:52:38 +0000 (19:52 -0700)
commit916d9e18774a10c837e50bb4f1b207e80f0db6e3
treefdae3382751b34ffb0a910b26d9a3812692d962b
parent47acbcf09aa60ff13845740b1c02c7ca017e46d0
[X86] Pass the OperandVector by reference to ParseIntelOperand and ParseRoundingMode. NFCI

Similar to what was recently done to ParseATTOperand. Make
ParseIntelOperand directly responsible for adding to the operand
vector instead of returning the operand. Return a bool for error.

Remove ErrorOperand since it is no longer used.
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp