projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert both r121082 (which broke a bunch of constant pool stuff) and r125074 (which...
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
InstPrinter
/
ARMInstPrinter.cpp
diff --git
a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
index 941c69d14ea182e8f0fcb4cc3c1811ddd3852477..4f03b8497b9b9e05f5cb3e787f9ae2645425f164 100644
(file)
--- a/
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
+++ b/
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());