git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276993
91177308-0d34-0410-b5e6-
96231b3b80d8
return Match_Success;
case Mips::DATI:
case Mips::DAHI:
- return static_cast<MipsOperand &>(*Operands[1])
- .isValidForTie(static_cast<MipsOperand &>(*Operands[2]))
- ? Match_Success
- : Match_RequiresSameSrcAndDst;
+ if (static_cast<MipsOperand &>(*Operands[1])
+ .isValidForTie(static_cast<MipsOperand &>(*Operands[2])))
+ return Match_Success;
+ return Match_RequiresSameSrcAndDst;
}
}
unsigned MipsAsmParser::checkTargetMatchPredicate(MCInst &Inst) {