Print predicate of the second instruction of the two-piece constant MI.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 5 Jun 2007 18:55:18 +0000 (18:55 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 5 Jun 2007 18:55:18 +0000 (18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37437 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAsmPrinter.cpp

index 6357e1ee80679e846aae7728c5bc9faff48d3883..698ce4b07a1a7a04c754e3a6e2021c9e3b0a3f73 100644 (file)
@@ -361,7 +361,9 @@ void ARMAsmPrinter::printSOImm2PartOperand(const MachineInstr *MI, int OpNum) {
   unsigned V1 = ARM_AM::getSOImmTwoPartFirst(MO.getImmedValue());
   unsigned V2 = ARM_AM::getSOImmTwoPartSecond(MO.getImmedValue());
   printSOImm(O, ARM_AM::getSOImmVal(V1), TAI);
-  O << "\n\torr ";
+  O << "\n\torr";
+  printPredicateOperand(MI, 2);
+  O << " ";
   printOperand(MI, 0); 
   O << ", ";
   printOperand(MI, 0);