mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
MCTargetAsmParser target match predicate support.
Allow a target assembly parser to do context sensitive constraint checking on a potential instruction match. This will be used, for example, to handle Thumb2 IT block parsing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -323,6 +323,7 @@ MatchAndEmitInstruction(SMLoc IDLoc,
|
||||
unsigned ErrorInfo;
|
||||
|
||||
switch (MatchInstructionImpl(Operands, Inst, ErrorInfo)) {
|
||||
default: break;
|
||||
case Match_Success:
|
||||
Out.EmitInstruction(Inst);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user