forked from OSchip/llvm-project
[AArch64] validateTargetOperandClass - early out from MCK_MPR case. NFCI.
If it didn't match a za register, there's nothing we can do. Fixes static analyzer uninitialized variable warning.
This commit is contained in:
parent
7c5d5edec8
commit
f133b817a2
|
@ -6883,7 +6883,7 @@ unsigned AArch64AsmParser::validateTargetOperandClass(MCParsedAsmOperand &AsmOp,
|
|||
// as a literal token.
|
||||
if (Op.isTokenEqual("za"))
|
||||
return Match_Success;
|
||||
break;
|
||||
return Match_InvalidOperand;
|
||||
}
|
||||
if (!Op.isImm())
|
||||
return Match_InvalidOperand;
|
||||
|
|
Loading…
Reference in New Issue