aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-24 20:06:14 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-24 20:06:14 +0000
commitdf9ce6bbc5b66c3c4d30c2f32b6f17c690cfa004 (patch)
tree5f34164006cb64a287b3f97d0c82fda1b907f2ef
parent356e9881100f8adafa5b3b8982315cbefac83fea (diff)
When printing Thumb1 NOP ('mov r8, r8'), make sure to print the predicate.
rdar://10015134 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138467 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
index 2c96eb74eb..8b44aa29ff 100644
--- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
+++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
@@ -168,6 +168,7 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O) {
if (Opcode == ARM::tMOVr && MI->getOperand(0).getReg() == ARM::R8 &&
MI->getOperand(1).getReg() == ARM::R8) {
O << "\tnop";
+ printPredicateOperand(MI, 2, O);
return;
}