diff options
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 67176ad5a3..274e14db9c 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -3337,10 +3337,10 @@ validateInstruction(MCInst &Inst, "', but expected '" + ARMCondCodeToString(ARMCC::CondCodes(ITCond)) + "'"); } - // Check for non-'al' condition codes outside of the IT block. + // Check for non-'al' condition codes outside of the IT block. } else if (isThumbTwo() && MCID.isPredicable() && Inst.getOperand(MCID.findFirstPredOperandIdx()).getImm() != - ARMCC::AL) + ARMCC::AL && Inst.getOpcode() != ARM::tBcc) return Error(Loc, "predicated instructions must be in IT block"); switch (Inst.getOpcode()) { |