diff options
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index bd3e8711ec..96ce5cd449 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -3478,6 +3478,11 @@ processInstruction(MCInst &Inst, if (Inst.getOperand(3).getImm() < 8 && Operands.size() == 6) Inst.setOpcode(ARM::tADDi3); break; + case ARM::t2Bcc: + // If the conditional is AL, we really want t2B. + if (Inst.getOperand(1).getImm() == ARMCC::AL) + Inst.setOpcode(ARM::t2B); + break; case ARM::tBcc: // If the conditional is AL, we really want tB. if (Inst.getOperand(1).getImm() == ARMCC::AL) |