summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-02-08 22:39:40 +0000
committerOwen Anderson <resistor@mac.com>2011-02-08 22:39:40 +0000
commit4ebf471c9b8a30905692eda8908107aa5e08ce8e (patch)
tree00e2686da5fb3e0dcf6ce2f50c986d2aa2a90755 /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
parent7a198cef046f37cd9732eef3f6e976dc9021d5a1 (diff)
downloadbcm5719-llvm-4ebf471c9b8a30905692eda8908107aa5e08ce8e.tar.gz
bcm5719-llvm-4ebf471c9b8a30905692eda8908107aa5e08ce8e.zip
Revert both r121082 (which broke a bunch of constant pool stuff) and r125074 (which worked around it). This should get us back to the old, correct behavior, though it will make the integrated assembler unhappy for the time being.
llvm-svn: 125127
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
index 941c69d14ea..4f03b8497b9 100644
--- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
@@ -574,9 +574,6 @@ void ARMInstPrinter::printAddrModeImm12Operand(const MCInst *MI, unsigned OpNum,
if (!MO1.isReg()) { // FIXME: This is for CP entries, but isn't right.
printOperand(MI, OpNum, O);
return;
- } else if (MO1.getReg() == ARM::PC && MO2.isExpr()) {
- printOperand(MI, OpNum+1, O);
- return;
}
O << "[" << getRegisterName(MO1.getReg());
OpenPOWER on IntegriCloud