summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-16 17:43:25 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-16 17:43:25 +0000
commit218e22da8b252de24ddafbdeedeaf50ab7527b87 (patch)
treec9c39dadb627c989f4982212a0d2df0ee2db3c89 /llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
parent94532cb297f9ddbef0390b3047e6b9cbec592382 (diff)
downloadbcm5719-llvm-218e22da8b252de24ddafbdeedeaf50ab7527b87.tar.gz
bcm5719-llvm-218e22da8b252de24ddafbdeedeaf50ab7527b87.zip
MC-ization of the PICLDR pseudo. Next up, adding the other variants
(PICLDRB, et. al.) and PICSTR* llvm-svn: 114098
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
index 37c4f75e822..2e48905791c 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
@@ -384,7 +384,10 @@ void ARMInstPrinter::printAddrMode6OffsetOperand(const MCInst *MI,
void ARMInstPrinter::printAddrModePCOperand(const MCInst *MI, unsigned OpNum,
raw_ostream &O,
const char *Modifier) {
- assert(0 && "FIXME: Implement printAddrModePCOperand");
+ // All instructions using addrmodepc are pseudos and should have been
+ // handled explicitly in printInstructionThroughMCStreamer(). If one got
+ // here, it wasn't, so something's wrong.
+ assert(0 && "Unhandled addrmodepc operand!");
}
void ARMInstPrinter::printBitfieldInvMaskImmOperand(const MCInst *MI,
OpenPOWER on IntegriCloud