commit | 2dbb46a0a09d4a16a6752cfcbe1d55d51e7d2a31 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Oct 05 17:16:40 2011 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Oct 05 17:16:40 2011 +0000 |
tree | 4e9b2dcd7a008a79c3eeeaf3bf5ca4d95ee60eec | |
parent | b73a8414a7f7d4f5131338b7bc3a81fe34298e4a [diff] [blame] |
Support a valid, but not very useful, encoding of CPSIE where none of the AIF bits are set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141190 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index e70f846..83cf58b 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
@@ -624,6 +624,9 @@ for (int i=2; i >= 0; --i) if (IFlags & (1 << i)) O << ARM_PROC::IFlagsToString(1 << i); + + if (IFlags == 0) + O << "none"; } void ARMInstPrinter::printMSRMaskOperand(const MCInst *MI, unsigned OpNum,