forked from OSchip/llvm-project
[mips] Fix a warning that occurs on some gcc 4.9.2's but not all of them.
llvm-svn: 276993
This commit is contained in:
parent
6e74651658
commit
b23005ead4
|
@ -3718,10 +3718,10 @@ MipsAsmParser::checkEarlyTargetMatchPredicate(MCInst &Inst,
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue