mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-04 16:26:46 +00:00
[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…
x
Reference in New Issue
Block a user