forked from OSchip/llvm-project
Thumb .n mnemonic qualifiers can be ignored for now.
We'll need to pay attention to them when we start getting more serious about the details of parsing thumb2 assembly. llvm-svn: 138500
This commit is contained in:
parent
737330c1de
commit
838ed3af46
|
@ -3015,7 +3015,11 @@ bool ARMAsmParser::ParseInstruction(StringRef Name, SMLoc NameLoc,
|
|||
Next = Name.find('.', Start + 1);
|
||||
StringRef ExtraToken = Name.slice(Start, Next);
|
||||
|
||||
Operands.push_back(ARMOperand::CreateToken(ExtraToken, NameLoc));
|
||||
// For now, we're only parsing Thumb1 (for the most part), so
|
||||
// just ignore ".n" qualifiers. We'll use them to restrict
|
||||
// matching when we do Thumb2.
|
||||
if (ExtraToken != ".n")
|
||||
Operands.push_back(ARMOperand::CreateToken(ExtraToken, NameLoc));
|
||||
}
|
||||
|
||||
// Read the remaining operands.
|
||||
|
|
Loading…
Reference in New Issue