forked from OSchip/llvm-project
parent
d58530422f
commit
549a31cd34
|
@ -744,15 +744,11 @@ bool ARMAsmParser::ParseInstruction(StringRef Name, SMLoc NameLoc,
|
|||
.Case("al", ARMCC::AL)
|
||||
.Default(~0U);
|
||||
|
||||
if (CC != ~0U) {
|
||||
if (CC == ARMCC::LS &&
|
||||
(Head.compare("vmls") == 0 || Head.compare("vnmls") == 0)) {
|
||||
CC = ARMCC::AL;
|
||||
} else {
|
||||
Head = Head.slice(0, Head.size() - 2);
|
||||
}
|
||||
} else {
|
||||
if (CC == ~0U ||
|
||||
(CC == ARMCC::LS && (Head == "vmls" || Head == "vnmls"))) {
|
||||
CC = ARMCC::AL;
|
||||
} else {
|
||||
Head = Head.slice(0, Head.size() - 2);
|
||||
}
|
||||
|
||||
Operands.push_back(ARMOperand::CreateToken(Head, NameLoc));
|
||||
|
|
Loading…
Reference in New Issue