aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-06-05 18:55:18 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-06-05 18:55:18 +0000
commit5e148a37d3432f83ccc4dbebe08d4f1b4717034c (patch)
tree2528cf7466f2c4f573641bee8964b7c20acaa8c0 /lib/Target
parent359208032b7d0736307b375c36f5c5ab4461ac87 (diff)
downloadexternal_llvm-5e148a37d3432f83ccc4dbebe08d4f1b4717034c.zip
external_llvm-5e148a37d3432f83ccc4dbebe08d4f1b4717034c.tar.gz
external_llvm-5e148a37d3432f83ccc4dbebe08d4f1b4717034c.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index 6357e1e..698ce4b 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);