[Mips] Replace OperandMatchResultTy with ParseStatus (NFC)
authorSergei Barannikov <barannikov88@gmail.com>
Mon, 3 Jul 2023 04:06:33 +0000 (07:06 +0300)
committerSergei Barannikov <barannikov88@gmail.com>
Thu, 6 Jul 2023 14:36:02 +0000 (17:36 +0300)
commitab49d3055723348b1653779129edbe0866b6b1cf
tree3c66191439cd612dfee06665ed1e339565765974
parent196c144d0bc16350d2a73490e13bc9e3e82e84c0
[Mips] Replace OperandMatchResultTy with ParseStatus (NFC)

ParseStatus is slightly more convenient to use due to implicit
conversion from bool, which allows to do something like:
```
  return Error(L, "msg");
```
when with MatchOperandResultTy it had to be:
```
  Error(L, "msg");
  return MatchOperand_ParseFail;
```
It also has more appropriate name since parse* methods are not only for
parsing operands.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D154319
llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp