From: Evan Cheng Date: Tue, 5 Jun 2007 18:55:18 +0000 (+0000) Subject: Print predicate of the second instruction of the two-piece constant MI. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e148a37d3432f83ccc4dbebe08d4f1b4717034c;p=oota-llvm.git Print predicate of the second instruction of the two-piece constant MI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 6357e1ee806..698ce4b07a1 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -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);